/* === BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Green / Tech Palette */
    --primary: #10b981;       /* Emerald 500 */
    --primary-dark: #059669;  /* Emerald 600 */
    --primary-glow: rgba(16, 185, 129, 0.5);
    --secondary: #14b8a6;     /* Teal 500 */
    --bg-dark: #020617;       /* Very Dark Slate */
    --bg-card: #0f172a;       /* Slate 900 */
    --bg-card-hover: #1e293b; /* Slate 800 */
    --text-primary: #f1f5f9;  /* Slate 100 */
    --text-secondary: #94a3b8;/* Slate 400 */
    --border: #1e293b;        /* Slate 800 */
    
    /* Updated Green Gradient */
    --gradient: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
}

body {
    /* Changed to Plus Jakarta Sans for a more modern Tech feel */
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Aurora/Northern Lights Effect (Green Edition) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 30%, rgba(16, 185, 129, 0.08) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(20, 184, 166, 0.06) 50%, transparent 70%),
        linear-gradient(90deg, transparent 20%, rgba(5, 150, 105, 0.05) 50%, transparent 80%);
    background-size: 200% 200%, 200% 200%, 200% 200%;
    animation: aurora 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes aurora {
    0%, 100% { background-position: 0% 50%, 100% 50%, 50% 0%; }
    25% { background-position: 100% 50%, 0% 100%, 0% 50%; }
    50% { background-position: 50% 100%, 50% 0%, 100% 100%; }
    75% { background-position: 0% 0%, 100% 100%, 50% 50%; }
}

/* Matrix Rain Canvas */
#matrixRain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15; /* Slightly increased for green visibility */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-weight: 800; /* Bolder headings */
    line-height: 1.2;
    letter-spacing: -0.02em; /* Tighter tracking for modern look */
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-align: center; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

/* FontAwesome Icon Adjustment in Buttons */
.btn i {
    font-size: 1.1em;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
    background: rgba(16, 185, 129, 0.05);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.btn-secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #020617; /* Dark text on green background for contrast */
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* === NAVIGATION === */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-icon {
    width: 32px;
    height: 32px;
    /* If SVG, you might want to filter it to green if it's not already */
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.5));
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--gradient);
    color: #020617; /* Dark text for better contrast on neon green */
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

html { scroll-behavior: smooth; }

/* === HERO === */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at top, #0f172a 0%, var(--bg-dark) 70%);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* === FLOATING GEOMETRIC SHAPES (GREEN THEME) === */
.floating-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

/* Shapes recolored to Green/Teal/Cyan */
.shape-1 {
    width: 120px; height: 120px;
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    top: 15%; right: 10%;
    transform: rotate(45deg);
    animation-delay: 0s; animation-duration: 18s;
}

.shape-2 {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    border: 2px solid rgba(16, 185, 129, 0.3);
    top: 35%; right: 25%;
    transform: rotate(45deg);
    animation-delay: -3s; animation-duration: 22s;
}

.shape-3 {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    top: 60%; right: 5%;
    transform: rotate(45deg);
    animation-delay: -6s; animation-duration: 15s;
}

.shape-4 {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    top: 20%; left: 5%;
    transform: rotate(45deg);
    animation-delay: -2s; animation-duration: 20s;
    opacity: 0.4;
}

.shape-5 {
    width: 100px; height: 100px;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    bottom: 20%; left: 8%;
    transform: rotate(45deg);
    animation-delay: -8s; animation-duration: 25s;
}

.shape-6 {
    width: 0; height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(16, 185, 129, 0.4);
    top: 10%; right: 30%;
    animation-delay: -4s; animation-duration: 17s;
}

.shape-7 {
    width: 0; height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(20, 184, 166, 0.3);
    top: 25%; right: 15%;
    animation-delay: -7s; animation-duration: 23s;
}

.shape-8 {
    width: 200px; height: 200px;
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    top: 30%; right: 20%;
    transform: rotate(15deg);
    animation-delay: -5s; animation-duration: 30s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.shape-line {
    position: absolute;
    border: 2px solid rgba(148, 163, 184, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.shape-line-1 {
    width: 400px; height: 400px;
    top: 20%; right: -5%;
    border-color: transparent transparent rgba(16, 185, 129, 0.15) transparent;
    animation: rotate-slow 40s infinite linear;
}

.shape-line-2 {
    width: 300px; height: 300px;
    bottom: 10%; left: 5%;
    border-color: rgba(20, 184, 166, 0.1) transparent transparent transparent;
    animation: rotate-slow 30s infinite linear reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    25% { transform: translateY(-20px) rotate(50deg); }
    50% { transform: translateY(-10px) rotate(40deg); }
    75% { transform: translateY(-30px) rotate(48deg); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 24px auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 20px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
}

.stat { text-align: center; }

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === FEATURES === */
.features {
    padding: 100px 0;
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    background: linear-gradient(145deg, #0f172a 0%, #020617 100%);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Green Gradient Border Effect */
.feature-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 50%, #10b981 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover::before { opacity: 1; }

.feature-card:hover {
    transform: translateY(-10px);
}

/* FontAwesome styling in feature cards */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: #020617;
    transform: rotateY(180deg);
}

.feature-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* === DEMO VIDEO === */
.demo {
    padding: 100px 0;
    background: var(--bg-card);
    position: relative;
}

.demo-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.demo-video {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    position: relative;
}

.demo-video::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: conic-gradient(from var(--angle, 0deg), 
        transparent 0%, transparent 30%, 
        #10b981 40%, #14b8a6 50%, #10b981 60%, 
        transparent 70%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: snakeRotate 3s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.demo-video video { width: 100%; display: block; }

/* === PRICING === */
.pricing {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f172a 100%);
}

.pricing-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pricing-card {
    background: linear-gradient(145deg, #0f172a 0%, #020617 100%);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.1);
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 1px solid var(--primary);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, #020617 100%);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.25);
}

.popular-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #020617;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.pricing-header h3 { font-size: 1.5rem; margin-bottom: 8px; }

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin: 16px 0;
    letter-spacing: -2px;
}

.price-period { color: var(--text-secondary); font-size: 0.9rem; }

.pricing-features {
    list-style: none;
    margin: 24px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Feature check icon styling */
.pricing-features li i {
    color: var(--primary);
    font-size: 1.1rem;
}
.pricing-features li i.fa-xmark {
    color: #ef4444; /* Red for cross */
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-card .btn { width: 100%; }

/* === REFERRAL === */
.referral {
    padding: 100px 0;
    background: var(--bg-dark);
}

.referral-content {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.referral-content::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.referral-content h2 { color: white; margin-bottom: 16px; position: relative; }
.referral-content p { color: rgba(255,255,255,0.9); font-size: 1.25rem; margin-bottom: 40px; position: relative; }

.referral-steps {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
}

.step-num {
    width: 32px; height: 32px;
    background: var(--primary);
    color: #020617;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* === PAYMENT === */
.payment {
    padding: 100px 0;
    background: linear-gradient(180deg, #0f172a 0%, var(--bg-dark) 100%);
}

.payment-card {
    max-width: 700px;
    margin: 40px auto 0;
    background: #020617;
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    position: relative;
    border: none;
    overflow: hidden;
}

.payment-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: conic-gradient(from var(--angle, 0deg), 
        transparent 0%, transparent 30%, 
        #10b981 40%, #14b8a6 50%, #10b981 60%, 
        transparent 70%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: snakeRotate 3s linear infinite;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes snakeRotate { to { --angle: 360deg; } }

.payment-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.payment-card h3 { font-size: 1.75rem; margin-bottom: 16px; }
.payment-card p { color: var(--text-secondary); margin-bottom: 32px; }

.payment-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* === FAQ === */
.faq {
    padding: 100px 0;
    background: var(--bg-card);
}

.faq h2 { text-align: center; margin-bottom: 48px; }

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover { border-color: var(--primary); }

.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '\f078'; /* FontAwesome Chevron Down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after { transform: rotate(180deg); }

.faq-item p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 10px;
    padding-top: 20px;
}

/* === CTA === */
.cta {
    padding: 100px 0;
    text-align: center;
    background: var(--bg-dark);
}
.cta p { color: var(--text-secondary); font-size: 1.25rem; margin-bottom: 32px; }

/* === FOOTER === */
.footer {
    background: #000000;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 30px;
    border-bottom: 1px solid #1e293b;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* === FLOATING SUPPORT === */
.floating-support {
    position: fixed;
    bottom: 30px; right: 30px;
    background: var(--primary);
    color: #020617;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-support:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

/* === MARQUEE === */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: #020617;
    padding: 12px 0;
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* FontAwesome icon inside marquee */
.marquee-item i {
    font-size: 1rem;
    color: var(--secondary);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === CONTACT SECTION === */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0f1a 100%);
}
.contact h2 { text-align: center; margin-bottom: 16px; }
.contact-desc { text-align: center; color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 48px; }

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background: #0f172a;
    border-radius: 20px;
    padding: 48px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 50%, #10b981 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    z-index: -1;
}

.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 600; color: var(--text-primary); font-size: 0.95rem; }

.contact-type-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.type-btn {
    flex: 1;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-btn:hover { border-color: var(--primary); color: var(--text-primary); }

.type-btn.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.1rem;
    margin-top: 8px;
    color: #020617; /* Dark text on button */
    font-weight: 700;
}

.form-message {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    display: none;
}
.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .nav { padding: 16px 20px; }
    .nav-links { display: none; }
    .hero-content { padding: 40px 20px; }
    .hero-stats { gap: 30px; }
    .features-grid { grid-template-columns: 1fr; }
    
    h1 { font-size: 2.5rem; }
    
    .contact-type-buttons { flex-direction: column; }
    .type-btn { min-width: auto; }
}