/* ===== VARIABLES ===== */
:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-secondary: #0f172a;
    --color-accent: #f97316;
    --color-success: #22c55e;
    --color-warning: #eab308;
    --color-danger: #ef4444;

    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-border: #e2e8f0;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
    --border-radius: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* ===== NAVIGATION ===== */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-cta {
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    color: white;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: white;
    color: var(--color-secondary);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #1e3a5f 100%);
    color: white;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/hero-pattern.svg') repeat;
    opacity: 0.05;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 800px;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-subtitle strong {
    color: var(--color-accent);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero .btn-secondary {
    border-color: rgba(255,255,255,0.3);
    color: white;
}

.hero .btn-secondary:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 0;
}

section h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* ===== WHY SECTION ===== */
.why-section {
    background: var(--color-bg-alt);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.why-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.why-card.alert {
    border-left: 4px solid var(--color-danger);
}

.why-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--color-text-muted);
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--border-radius);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    transition: all 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

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

/* ===== FEATURES WITH IMAGES ===== */
.features-grid-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.feature-card-image {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card-image:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.feature-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--color-border);
}

.feature-card-image .feature-content {
    padding: 20px;
}

.feature-card-image h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.feature-card-image p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.feature-card-image a img {
    transition: opacity 0.2s ease;
}

.feature-card-image a:hover img {
    opacity: 0.9;
}

.demo-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
}

.demo-link:hover {
    color: var(--color-primary-dark);
}

.demo-creds {
    margin-top: 8px;
    padding: 8px 12px;
    background: var(--color-bg-alt);
    border-radius: 6px;
    border: 1px solid var(--color-border);
}

.demo-creds small {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
}

.demo-creds code {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 11px;
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--color-text);
}

/* Simple features (emoji-based) */
.features-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-simple {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.feature-simple .feature-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.feature-simple h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

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

/* ===== PHONES SECTION ===== */
.phones-section {
    background: var(--color-bg-alt);
}

.phones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.phone-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.phone-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.phone-card img {
    height: 160px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 12px;
}

.phone-card p {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

/* ===== CAPABILITIES SECTION ===== */
.capabilities-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}

.capabilities-section h2 {
    color: white;
}

.capabilities-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

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

.capability-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.capability-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.capability-card.highlight {
    background: rgba(249, 115, 22, 0.15);
    border-color: var(--color-accent);
}

.capability-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.capability-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.capability-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 16px;
}

.capability-card .btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* ===== PRICING ===== */
.pricing-section {
    background: var(--color-bg-alt);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 2px solid var(--color-primary);
}

.pricing-header {
    background: var(--color-primary);
    color: white;
    padding: 24px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.pricing-tagline {
    opacity: 0.9;
}

.pricing-body {
    padding: 32px;
    text-align: center;
}

.price {
    margin-bottom: 24px;
}

.price-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-primary);
    display: block;
}

.price-period {
    color: var(--color-text-muted);
    display: block;
    margin-top: 4px;
}

.pricing-features {
    list-style: none;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--color-text-muted);
}

.pricing-bonuses {
    background: #fefce8;
    padding: 24px 32px;
    border-top: 1px solid var(--color-border);
}

.pricing-bonuses h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.pricing-bonuses ul {
    list-style: none;
}

.pricing-bonuses li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.pricing-bonuses s {
    color: var(--color-text-muted);
}

.waived {
    color: var(--color-success);
    font-weight: 600;
}

/* ===== TIMELINE ===== */
.timeline-section {
    text-align: center;
}

.timeline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 60px 0 40px;
    flex-wrap: wrap;
}

.timeline-step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.timeline-step h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

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

.timeline-connector {
    width: 80px;
    height: 2px;
    background: var(--color-border);
}

.timeline-note {
    color: var(--color-text-muted);
}

.timeline-note strong {
    color: var(--color-primary);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #1e3a5f 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-section .btn-secondary {
    border-color: rgba(255,255,255,0.3);
    color: white;
}

.cta-note {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-secondary);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 8px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav {
        padding: 16px 20px;
    }

    section {
        padding: 60px 0;
    }

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

    .feature-card-image img {
        height: 180px;
    }

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

    .phones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .phone-card {
        padding: 16px;
    }

    .phone-card img {
        height: 120px;
    }

    .timeline {
        flex-direction: column;
    }

    .timeline-connector {
        width: 2px;
        height: 40px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

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