/* ============================================
   PREMIUM 3D GLASS THEME - 110 Solutions
   Based on documentation: OTF Premium 3D Glass Theme
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Backgrounds */
    --bg-1: #0a0e27;
    --bg-2: #1e133e;
    
    /* Surfaces */
    --panel: rgba(15, 20, 45, 0.65);
    --panel-strong: rgba(10, 15, 40, 0.85);
    --panel-hover: rgba(30, 40, 70, 0.7);
    
    /* Accents */
    --accent: #00e6ff;
    --accent-2: #9600ff;
    --accent-3: #ff00a0;
    
    /* Status */
    --success: #2ed573;
    --danger: #ff4757;
    --warning: #f39c12;
    --info: #00d2ff;
    
    /* Text */
    --text: #ffffff;
    --text-muted: #a0a6cc;
    
    /* Borders */
    --border: rgba(0, 230, 255, 0.15);
    --border-strong: rgba(0, 230, 255, 0.5);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(0, 230, 255, 0.3);
    
    /* Blurs */
    --blur-sm: blur(5px);
    --blur-md: blur(12px);
    --blur-lg: blur(20px);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== THEME VARIANTS ===== */
body.theme-dark {
    --bg-1: #0a0a1a;
    --bg-2: #12102a;
    --panel: rgba(20, 20, 50, 0.6);
    --panel-strong: rgba(15, 15, 40, 0.85);
    --text: #e2e8f0;
    --text-muted: #a0aec0;
    --accent: #667eea;
    --accent-2: #764ba2;
    --border: rgba(102, 126, 234, 0.15);
}

body.theme-light {
    --bg-1: #8f0fe;
    --bg-2: #d4e4fc;
    --panel: rgba(255, 255, 255, 0.7);
    --panel-strong: rgba(255, 255, 255, 0.9);
    --text: #1a202c;
    --text-muted: #4a5568;
    --accent: #667eea;
    --accent-2: #764ba2;
    --border: rgba(102, 126, 234, 0.2);
}

/* ===== GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--bg-1), var(--bg-2));
    color: var(--text);
    min-height: 100vh;
    transition: background 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
}

/* ===== FLOATING BACKGROUND BLOBS ===== */
.floating-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    animation: drift 25s ease-in-out infinite alternate;
}

.floating-blob:nth-child(1) {
    width: 45vw;
    height: 45vw;
    background: var(--accent-2);
    top: -10%;
    right: -10%;
    animation-duration: 25s;
}

.floating-blob:nth-child(2) {
    width: 40vw;
    height: 40vw;
    background: var(--info);
    bottom: -10%;
    left: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.floating-blob:nth-child(3) {
    width: 35vw;
    height: 35vw;
    background: var(--accent-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 28s;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.05); }
    100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* ===== GLASS NAVBAR ===== */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--panel);
    backdrop-filter: var(--blur-md);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.glass-nav.scrolled {
    background: var(--panel-strong);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.nav-brand img {
    height: 40px;
    width: auto;
}

.nav-brand .brand-text {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.nav-brand .brand-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link.active::after {
    width: 100%;
}

.theme-toggle {
    background: var(--panel-strong);
    backdrop-filter: var(--blur-sm);
    border: 1px solid var(--border);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO / SLIDER ===== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.slider-container {
    width: 100%;
    height: 100%;
    perspective: 1200px;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    transform: scale(0.95);
    opacity: 0.5;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.8s ease;
}

.slider-slide.active {
    transform: scale(1);
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.slider-slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
    max-width: 800px;
    animation: slideFadeIn 1s ease;
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) translateY(0);
    }
}

.slide-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0,230,255,0.3);
}

.slide-subtitle {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

.slide-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: var(--panel);
    backdrop-filter: var(--blur-md);
    border: 1px solid var(--border);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--panel-hover);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.slider-btn.prev { left: 30px; }
.slider-btn.next { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.3);
    border-color: rgba(255,255,255,0.5);
    box-shadow: var(--shadow-glow);
}

.dot:hover {
    background: rgba(255,255,255,0.6);
    transform: scale(1.2);
}

/* ===== 3D GLASS BUTTONS ===== */
.glass-btn-3d {
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    backdrop-filter: var(--blur-sm);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.glass-btn-3d::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-btn-3d:hover::before {
    opacity: 1;
}

.glass-btn-3d:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 230, 255, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 230, 255, 0.4);
}

.btn-secondary {
    background: var(--panel-strong);
    border: 1px solid var(--border);
    color: var(--text);
    backdrop-filter: var(--blur-sm);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #c0392b);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.7rem;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
}

/* ===== GLASS CARDS ===== */
.glass-card-3d {
    background: var(--panel);
    backdrop-filter: var(--blur-md);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-bounce);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-card-3d:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--border-strong);
}

.glass-card-3d .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.glass-card-3d h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.glass-card-3d p {
    color: var(--text-muted);
    line-height: 1.6;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(0,230,255,0.05) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.glass-card-3d:hover .card-glow {
    opacity: 1;
}

/* ===== SECTIONS ===== */
.section-glass {
    padding: 5rem 2rem;
    position: relative;
    z-index: 1;
}

.section-glass.alt-bg {
    background: var(--panel);
    backdrop-filter: var(--blur-sm);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grids */
.services-grid,
.products-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== PRODUCT BADGE ===== */
.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--bg-1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* ===== TESTIMONIALS ===== */
.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-muted);
    margin: 1rem 0;
}

.testimonial-author {
    margin-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text);
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== FLOATING LABEL FORM ===== */
.floating-label-field {
    position: relative;
    margin-bottom: 1.5rem;
}

.floating-label-field input,
.floating-label-field textarea,
.floating-label-field select {
    width: 100%;
    padding: 10px 10px 6px 10px;
    background: var(--input-bg, rgba(0, 0, 0, 0.4));
    backdrop-filter: var(--blur-sm);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.floating-label-field input:focus,
.floating-label-field textarea:focus,
.floating-label-field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 230, 255, 0.2);
}

.floating-label-field label {
    position: absolute;
    left: 10px;
    bottom: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all 0.2s ease;
    pointer-events: none;
    background: transparent;
    padding: 0 4px;
}

.floating-label-field input:focus ~ label,
.floating-label-field input:not(:placeholder-shown) ~ label,
.floating-label-field textarea:focus ~ label,
.floating-label-field textarea:not(:placeholder-shown) ~ label,
.floating-label-field select:focus ~ label,
.floating-label-field select:not(:placeholder-shown) ~ label {
    bottom: 28px;
    font-size: 0.65rem;
    color: var(--accent);
    background: var(--panel-strong);
    padding: 0 4px;
    border-radius: 4px;
}

/* ===== CONTACT FORM ===== */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .floating-label-field {
    margin-bottom: 1.5rem;
}

.contact-form button[type="submit"] {
    width: 100%;
}

/* ===== FOOTER ===== */
.glass-footer {
    background: var(--panel-strong);
    backdrop-filter: var(--blur-md);
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--panel-strong);
        backdrop-filter: var(--blur-lg);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-120%);
        transition: transform 0.4s ease;
        border-bottom: var(--border);
    }
    .nav-links.active {
        transform: translateY(0);
    }
    .slide-title {
        font-size: 2.2rem;
    }
    .slide-subtitle {
        font-size: 1rem;
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .slider-btn.prev { left: 10px; }
    .slider-btn.next { right: 10px; }
    .section-title {
        font-size: 2rem;
    }
    .services-grid,
    .products-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .floating-blob {
        opacity: 0.15;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--panel);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 10px;
}
/* ============================================
   CONTACT CARDS & PAYMENT ITEMS
   ============================================ */
.contact-card {
    cursor: default;
}
.contact-card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.contact-card .card-icon {
    font-size: 3.5rem;
    transition: transform 0.3s ease;
}
.payment-item {
    cursor: default;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.payment-item:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    border-color: var(--accent);
}
.payment-item i {
    transition: transform 0.3s ease;
}
.payment-item:hover i {
    transform: scale(1.1);
}
.payment-item span {
    font-weight: 500;
    color: var(--text-secondary);
}
@media (max-width: 768px) {
    .payment-grid {
        gap: 0.8rem;
    }
    .payment-item {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    .payment-item i {
        font-size: 1.8rem;
    }
}
