/* ============================================
   RIXOT TECHNOLOGY - MODERN PREMIUM DESIGN
   Glassmorphism + Gradient + Smooth Animations
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-bg: #0A0C15;
    --dark-card: #111827;
    --dark-surface: #1A1F2E;
    --orange-primary: #FF6B35;
    --orange-glow: #FF8C42;
    --orange-dark: #E85D2C;
    --white: #FFFFFF;
    --gray-light: #E5E7EB;
    --gray-mid: #9CA3AF;
    --gray-dark: #4B5563;
    --success: #10B981;
    --error: #EF4444;
    --shadow-sm: 0 8px 20px rgba(0,0,0,0.2);
    --shadow-md: 0 12px 30px rgba(0,0,0,0.25);
    --shadow-lg: 0 25px 45px -12px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 20px rgba(255,107,53,0.3);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: 'Space Grotesk', monospace;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 6%;
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-glow));
    color: white;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -8px rgba(255,107,53,0.5);
    background: linear-gradient(135deg, var(--orange-glow), var(--orange-primary));
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
    padding: 0.85rem 1.8rem;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
    background: rgba(255,107,53,0.1);
}

.btn-white {
    background: white;
    color: var(--dark-bg);
    padding: 0.85rem 1.8rem;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Section Tag */
.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--orange-primary);
    background: rgba(255,107,53,0.15);
    padding: 0.35rem 1.2rem;
    border-radius: 40px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255,107,53,0.3);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #FFFFFF, #E5E7EB);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-sub {
    color: var(--gray-mid);
    font-size: 1rem;
    max-width: 600px;
}

/* ============================================
   NAVBAR - FIXED WITH WORKING MOBILE MENU
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.2rem 0;
}

.navbar.scrolled {
    background: rgba(10, 12, 21, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #fff, var(--orange-primary));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.logo span {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-glow));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    position: relative;
}

.nav-link:hover {
    color: white;
}

.nav-link.active {
    color: var(--orange-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--orange-primary);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--orange-primary);
}

.nav-cta {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-glow));
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
    box-shadow: var(--shadow-glow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(255,107,53,0.4);
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   MOBILE MENU - FIXED (No click-through)
   ============================================ */




/* Mobile Menu Container */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: #0A0C15;
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    pointer-events: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-close {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-close:hover {
    background: var(--orange-primary);
    transform: rotate(90deg);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.8rem;
    gap: 0.8rem;
    flex: 1;
}

/* Ensure mobile menu links are clickable */
.mobile-nav-link, .mobile-cta {
    pointer-events: auto;
    cursor: pointer;
}

.mobile-nav-link {
    padding: 1rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 16px;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    background: rgba(255,107,53,0.15);
    color: var(--orange-primary);
    transform: translateX(8px);
}

.mobile-nav-link.active {
    color: var(--orange-primary);
    background: rgba(255,107,53,0.1);
}

.mobile-cta {
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-glow));
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem;
    border-radius: 60px;
    text-align: center;
    transition: all 0.2s;
}

.mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .navbar-inner {
        padding: 0.8rem 5%;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    background: radial-gradient(ellipse at 20% 30%, rgba(255,107,53,0.15), transparent 70%),
                linear-gradient(145deg, #0A0C15 0%, #111827 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,107,53,0.08), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #FFFFFF, #E5E7EB);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero h1 em {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-glow));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-style: normal;
}

.hero-desc {
    color: var(--gray-mid);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 1.5rem 0 2rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Space Grotesk', monospace;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-glow));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.stat-label {
    color: var(--gray-mid);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* ============================================
   GRIDS & CARDS (Glassmorphism)
   ============================================ */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,107,53,0.4);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.05);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: white;
}

.service-desc {
    color: var(--gray-mid);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Why Us Items */
.why-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.why-item:hover {
    border-color: rgba(255,107,53,0.3);
    transform: translateX(8px);
}

.why-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.why-title {
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: white;
}

.why-desc {
    color: var(--gray-mid);
    font-size: 0.85rem;
}

/* SEO Metrics Card */
.seo-metrics {
    background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(0,0,0,0.3));
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 2rem;
    border: 1px solid rgba(255,107,53,0.2);
}

.metric-item {
    margin-bottom: 1.2rem;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-light);
}

.metric-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    height: 8px;
    overflow: hidden;
}

.metric-fill {
    background: linear-gradient(90deg, var(--orange-primary), var(--orange-glow));
    height: 100%;
    border-radius: 12px;
    width: 0%;
    transition: width 1.2s ease;
    box-shadow: 0 0 10px rgba(255,107,53,0.5);
}

/* Testimonials */
.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-stars {
    color: var(--orange-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-glow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: rgba(255, 255, 255, 0.02);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(255,107,53,0.1), transparent);
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,107,53,0.1);
    border-bottom: 1px solid rgba(255,107,53,0.1);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--gray-mid);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--orange-primary);
}

.breadcrumb .current {
    color: var(--orange-primary);
}

.breadcrumb-sep {
    color: var(--gray-dark);
}

/* Page Hero */
.page-hero {
    background: radial-gradient(ellipse at 70% 30%, rgba(255,107,53,0.1), transparent),
                linear-gradient(145deg, #0A0C15 0%, #111827 100%);
    padding: 9rem 0 5rem;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF, #E5E7EB);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.page-hero p {
    color: var(--gray-mid);
    max-width: 600px;
}

/* Contact Form */
.contact-form-wrap {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-light);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: var(--gray-dark);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.2);
}

.form-select option {
    background: var(--dark-bg);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-glow));
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 16px;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--error);
    color: var(--error);
}

/* Features List */
.features-list {
    list-style: none;
    margin-top: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.features-list li::before {
    content: '✓';
    color: var(--orange-primary);
    font-weight: 700;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #07090F;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #fff, var(--orange-primary));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.footer-about {
    color: var(--gray-mid);
    font-size: 0.85rem;
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: var(--gray-mid);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--orange-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--gray-dark);
    font-size: 0.8rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-mid);
    text-decoration: none;
    transition: all 0.2s;
}

.social-icon:hover {
    background: var(--orange-primary);
    color: white;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        gap: 1.5rem;
    }
    .section {
        padding: 3rem 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .btn-primary, .btn-outline {
        width: 100%;
        justify-content: center;
    }
    .hero-btns {
        flex-direction: column;
    }
}