/* ========================================
   Global Styles & Reset
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4FC3F7;
    --primary-bright: #81D4FA;
    --accent: #00BFA5;
    --accent-bright: #1DE9B6;
    --dark-bg: #0a0e1a;
    --darker-bg: #060912;
    --card-bg: rgba(12, 20, 40, 0.75);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-border-hover: rgba(79, 195, 247, 0.25);
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --gradient-brand: linear-gradient(135deg, #4FC3F7 0%, #00BFA5 100%);
    --gradient-brand-soft: linear-gradient(135deg, rgba(79,195,247,0.15) 0%, rgba(0,191,165,0.15) 100%);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--primary);
    background: rgba(79, 195, 247, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
}

/* ========================================
   Animated Background
   ======================================== */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.35), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.5px 1.5px at 90% 60%, rgba(255,255,255,0.25), transparent),
        radial-gradient(1px 1px at 33% 80%, rgba(255,255,255,0.35), transparent),
        radial-gradient(1px 1px at 15% 55%, rgba(255,255,255,0.2), transparent);
    background-size: 200% 200%;
    animation: twinkle 12s ease-in-out infinite;
    opacity: 0.35;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.5; }
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(79, 195, 247, 0.1), transparent 60%),
        radial-gradient(ellipse at 70% 20%, rgba(0, 191, 165, 0.07), transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(79, 195, 247, 0.05), transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--card-border);
    transition: background 0.3s, box-shadow 0.3s;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-text .highlight,
.footer-brand-name .highlight {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

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

.btn-nav-cta {
    background: var(--gradient-brand) !important;
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.btn-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 195, 247, 0.3);
    color: white !important;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    z-index: 999;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--card-border);
}

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

.mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--primary);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    padding: 160px 0 120px;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-bright);
    background: rgba(0, 191, 165, 0.1);
    border: 1px solid rgba(0, 191, 165, 0.2);
    padding: 6px 16px;
    border-radius: 24px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-bright);
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.75;
    max-width: 520px;
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 56px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-brand);
    color: white;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(79, 195, 247, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: white;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-item { text-align: left; }

.stat-value {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Hero visual — hexagon animation */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hex-grid {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hex-center {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 60px rgba(79, 195, 247, 0.4));
}

.hex {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(79, 195, 247, 0.15);
    border-radius: 12px;
    background: rgba(79, 195, 247, 0.03);
    transform: rotate(45deg);
    animation: hex-drift 8s ease-in-out infinite;
}

.hex-1 { top: 20px; left: 30px; animation-delay: 0s; }
.hex-2 { bottom: 40px; right: 20px; animation-delay: 2s; width: 45px; height: 45px; }
.hex-3 { top: 60px; right: 40px; animation-delay: 4s; width: 35px; height: 35px; }

@keyframes hex-drift {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
    50% { transform: rotate(45deg) translateY(-12px); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

.pulse-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1.5px solid rgba(79, 195, 247, 0.3);
    border-radius: 50%;
    animation: pulse 7.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    z-index: 1;
}

.pulse-ring-delay {
    border-color: rgba(0, 191, 165, 0.25);
    animation-delay: 2.5s;
}

@keyframes pulse {
    0% { transform: scale(0.85); opacity: 1; }
    100% { transform: scale(5.00); opacity: 0; }
}

/* ========================================
   Shared Section Styles
   ======================================== */
.section-title {
    font-size: 44px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 14px;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 56px;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 36px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(79, 195, 247, 0.1);
    border-color: var(--card-border-hover);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(79, 195, 247, 0.08);
    border: 1px solid rgba(79, 195, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.12);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 72px;
    height: 72px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(79, 195, 247, 0.3);
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 0 16px;
    font-size: 15px;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, rgba(79, 195, 247, 0.4), rgba(0, 191, 165, 0.4));
    margin-top: 36px;
    flex-shrink: 0;
}

/* ========================================
   SaaS Section
   ======================================== */
.saas-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.saas-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.saas-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 18px;
    border-radius: 24px;
    background: rgba(0, 191, 165, 0.1);
    color: var(--accent-bright);
    border: 1px solid rgba(0, 191, 165, 0.2);
    margin-bottom: 24px;
}

.saas-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
    text-align: left;
}

.saas-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 15px;
}

.saas-feature svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.12);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.stat-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(79, 195, 247, 0.08);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.stat-desc {
    color: var(--text-muted);
    font-size: 14px;
}

/* ========================================
   CTA / Notify Section
   ======================================== */
.cta-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(79, 195, 247, 0.06), transparent);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.notify-form {
    margin-bottom: 0;
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.notify-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.notify-input::placeholder {
    color: var(--text-muted);
}

.notify-input:focus {
    border-color: rgba(79, 195, 247, 0.4);
    background: rgba(79, 195, 247, 0.04);
}

.btn-notify {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-brand);
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

.btn-notify:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(79, 195, 247, 0.35);
}

.form-note {
    color: var(--text-muted);
    font-size: 13px;
}

.notify-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--accent-bright);
    font-weight: 600;
    font-size: 16px;
    padding: 20px;
    background: rgba(0, 191, 165, 0.08);
    border: 1px solid rgba(0, 191, 165, 0.2);
    border-radius: 12px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid var(--card-border);
    padding: 56px 0 28px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 60px;
    margin-bottom: 36px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 280px;
}

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

.footer-column h4 {
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid var(--card-border);
}

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

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title { font-size: 46px; }
    .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-badge { justify-content: center; }

    .hero-visual { min-height: 300px; }

    .steps { flex-direction: column; gap: 32px; }
    .step-connector { display: none; }

    .saas-features { max-width: 100%; }
}

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

    .hero { padding: 130px 0 80px; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .stat-value { font-size: 24px; }

    .section-title { font-size: 32px; }
    .section-subtitle { font-size: 16px; }

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

    .cta-title { font-size: 32px; }
    .form-row { flex-direction: column; }
    .btn-notify { justify-content: center; }

    .saas-features { grid-template-columns: 1fr; }

    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .footer-links { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
    .hero-stats { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
}
