/* ============================================
   MrSpace - Premium Space Theme
   Color Palette: Black Primary, Purple Secondary
   ============================================ */

:root {
    /* Colors */
    --primary-black: #0a0a0a;
    --secondary-black: #121212;
    --tertiary-black: #1a1a1a;

    --primary-purple: #8b5cf6;
    --secondary-purple: #a78bfa;
    --dark-purple: #6d28d9;
    --light-purple: #c4b5fd;

    --accent-glow: #b794f6;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6b7280;

    /* Gradients */
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    --gradient-cosmic: linear-gradient(135deg, #1a1a1a 0%, #2d1b4e 50%, #1a1a1a 100%);
    --gradient-glow: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px 0;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--primary-black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   Stars Background Animation
   ============================================ */

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1a1a1a 0%, #0a0a0a 100%);
}

.stars,
.stars2,
.stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars {
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 60px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 50px 50px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(2px 2px at 90px 10px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 5s ease-in-out infinite;
    opacity: 0.3;
}

.stars2 {
    background-image:
        radial-gradient(1px 1px at 100px 120px, var(--secondary-purple), transparent),
        radial-gradient(1px 1px at 180px 50px, var(--secondary-purple), transparent),
        radial-gradient(1px 1px at 50px 180px, var(--secondary-purple), transparent);
    background-repeat: repeat;
    background-size: 300px 300px;
    animation: twinkle 7s ease-in-out infinite reverse;
    opacity: 0.2;
}

.stars3 {
    background-image:
        radial-gradient(1px 1px at 40px 80px, #8b5cf6, transparent),
        radial-gradient(2px 2px at 250px 150px, #a78bfa, transparent);
    background-repeat: repeat;
    background-size: 400px 400px;
    animation: twinkle 10s ease-in-out infinite;
    opacity: 0.15;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* ============================================
   Container & Layout
   ============================================ */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    transition: var(--transition-smooth);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-purple);
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--primary-purple);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-purple);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-purple);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    border: 1px solid var(--primary-purple);
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
}

.nav-cta:hover {
    background: var(--primary-purple);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.nav-cta::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-purple);
    transition: var(--transition-smooth);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.astronaut-float {
    position: absolute;
    top: -100px;
    right: -50px;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.astronaut {
    width: 250px;
    height: 250px;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-title .line {
    display: block;
}

.accent-line {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--gradient-purple);
    color: var(--text-primary);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.5);
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(139, 92, 246, 0.3);
    color: var(--primary-purple);
}

.btn-secondary:hover {
    border-color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-purple);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planet {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.planet-1 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 30% 30%, #a78bfa, #6d28d9);
    top: 50px;
    right: 100px;
    animation: orbit1 20s linear infinite;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.6);
}

.planet-2 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #c4b5fd, #8b5cf6);
    bottom: 100px;
    left: 50px;
    animation: orbit2 15s linear infinite reverse;
    box-shadow: 0 0 40px rgba(167, 139, 250, 0.5);
}

.orbit {
    position: absolute;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
}

.orbit-1 {
    width: 300px;
    height: 300px;
    animation: rotate 30s linear infinite;
}

.orbit-2 {
    width: 400px;
    height: 400px;
    animation: rotate 40s linear infinite reverse;
}

.orbit-3 {
    width: 500px;
    height: 500px;
    animation: rotate 50s linear infinite;
}

@keyframes orbit1 {
    from { transform: rotate(0deg) translateX(50px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes orbit2 {
    from { transform: rotate(0deg) translateX(30px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(30px) rotate(-360deg); }
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-purple);
    border-radius: 20px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-purple);
    border-radius: 50%;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 1;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    color: var(--primary-purple);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   Mission Section
   ============================================ */

.mission {
    background: var(--gradient-cosmic);
    position: relative;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.mission-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    opacity: 1;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-purple);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.mission-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   Technology Section
   ============================================ */

.technology {
    background: var(--secondary-black);
}

.tech-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 500px;
}

.tech-circle {
    position: relative;
    width: 300px;
    height: 300px;
}

.tech-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    opacity: 1;
}

.ring-1 {
    width: 300px;
    height: 300px;
    animation-delay: 0s;
}

.ring-2 {
    width: 400px;
    height: 400px;
    animation-delay: 0.3s;
}

.ring-3 {
    width: 500px;
    height: 500px;
    animation-delay: 0.6s;
}

.tech-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--gradient-purple);
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(139, 92, 246, 0.8);
    animation: glow 2s ease-in-out infinite alternate;
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 60px rgba(139, 92, 246, 0.6);
    }
    to {
        box-shadow: 0 0 100px rgba(139, 92, 246, 1);
    }
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tech-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: rgba(26, 26, 26, 0.4);
    border-radius: 15px;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    opacity: 1;
}

.tech-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(26, 26, 26, 0.6);
}

.tech-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(139, 92, 246, 0.3);
    line-height: 1;
}

.tech-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
}

.tech-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Solutions Section
   ============================================ */

.solutions {
    background: var(--primary-black);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    opacity: 1;
}

.solution-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.solution-card:hover .solution-bg {
    opacity: 1;
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

.solution-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.solution-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.solution-card > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.solution-features {
    list-style: none;
}

.solution-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    padding-left: 24px;
}

.solution-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
}

/* ============================================
   Lead Form Section
   ============================================ */

.lead-section {
    background: var(--gradient-cosmic);
    position: relative;
}

.lead-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.lead-info h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
}

.lead-intro {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.lead-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.benefit-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-purple);
    flex-shrink: 0;
}

.benefit-item span {
    color: var(--text-secondary);
    font-size: 16px;
}

.lead-form-container {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.lead-form h3 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 16px;
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:valid + label {
    top: -10px;
    left: 12px;
    font-size: 12px;
    background: var(--primary-black);
    padding: 0 8px;
    color: var(--primary-purple);
}

.form-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-purple);
    transition: var(--transition-smooth);
}

.form-group input:focus ~ .form-bar,
.form-group textarea:focus ~ .form-bar,
.form-group select:focus ~ .form-bar {
    width: 100%;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.form-privacy {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 20px;
}

.form-privacy a {
    color: var(--primary-purple);
    text-decoration: none;
}

/* ============================================
   Contact Page Styles
   ============================================ */

.contact-hero {
    padding: 160px 0 100px;
    text-align: center;
    background: var(--gradient-cosmic);
}

.contact-hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 20px;
    color: var(--text-secondary);
}

.contact-content {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 800;
}

.contact-intro {
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(26, 26, 26, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.contact-method:hover {
    border-color: var(--primary-purple);
    background: rgba(26, 26, 26, 0.6);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.method-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
}

.method-content a {
    color: var(--primary-purple);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.method-content p {
    color: var(--text-muted);
    font-size: 14px;
}

.social-links-contact {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

.social-links-contact a {
    color: var(--primary-purple);
    font-size: 14px;
}

.contact-cta-box {
    background: var(--gradient-purple);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.contact-cta-box h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-cta-box p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-form-section {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-container h3 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 700;
}

.form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 5px;
    position: relative;
    transition: var(--transition-smooth);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--gradient-purple);
    border-color: var(--primary-purple);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: 100px 0;
    background: var(--secondary-black);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background: rgba(139, 92, 246, 0.1);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
}

.faq-question svg {
    width: 24px;
    height: 24px;
    color: var(--primary-purple);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--secondary-black);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 20px 0;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--gradient-purple);
    border-color: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-purple);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-column a:hover {
    color: var(--primary-purple);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

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

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .tech-showcase {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lead-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 36px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}
