/* AI Classifier Marketing Site Styles */
:root {
    --primary: #4285f4;
    --primary-dark: #3367d6;
    --secondary: #34a853;
    --accent: #fbbc04;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-900: #111827;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav__list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav__link:hover { color: var(--primary); }

.nav__button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.nav__button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Hero */
.hero {
    padding: 4rem 0 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero__highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero__stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat__label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Hero Visual */
.hero__visual {
    display: flex;
    justify-content: center;
}

.demo-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.inbox-header {
    background: #f8f9fa;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.inbox-title {
    font-weight: 600;
    color: var(--gray-900);
}

.inbox-count {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.demo-emails {
    background: white;
}

.demo-email {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.demo-email:nth-child(1) { animation-delay: 0.2s; }
.demo-email:nth-child(2) { animation-delay: 0.4s; }
.demo-email:nth-child(3) { animation-delay: 0.6s; }

.email-from {
    font-size: 0.875rem;
    color: var(--gray-600);
    min-width: 80px;
}

.email-subject {
    font-weight: 500;
    flex: 1;
    color: var(--gray-900);
}

.email-label {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.label--priority {
    background: #fee2e2;
    color: #dc2626;
}

.label--marketing {
    background: #dbeafe;
    color: #2563eb;
}

.label--support {
    background: #d1fae5;
    color: #059669;
}

.demo-ai {
    text-align: center;
    padding: 1.5rem;
    border-top: 2px dashed #e5e7eb;
    background: #f8f9fa;
}

.ai-brain {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    animation: pulse 2s infinite;
}

.ai-text {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Sections */
.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section__description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.features {
    padding: 6rem 0;
    background: var(--gray-50);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature__description {
    color: var(--gray-600);
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
}

.steps {
    display: grid;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.step__number {
    background: var(--primary);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step__description {
    color: var(--gray-600);
}

/* Pricing */
.pricing {
    padding: 6rem 0;
    background: var(--gray-50);
}

/* Currency Selector */
.currency-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.currency-label {
    font-weight: 600;
    color: var(--gray-600);
}

.currency-toggle {
    display: flex;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.currency-option {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
}

.currency-option--active {
    background: var(--primary);
    color: white;
}

.currency-option:not(.currency-option--active):hover {
    background: var(--gray-100);
}

/* Pricing Grid */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto 3rem auto;
}

.pricing__card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pricing__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.pricing__card--featured {
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(66, 133, 244, 0.2);
}

.pricing__card--enterprise {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pricing__card--enterprise .pricing__features li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing__badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-600);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing__badge--popular {
    background: var(--accent);
    color: var(--gray-900);
}

.pricing__card h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
}

.pricing__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
}

.pricing__card--enterprise .amount {
    color: white;
}

.period {
    font-size: 1rem;
    color: var(--gray-600);
    margin-left: 0.25rem;
}

.contact-us {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.pricing__volume {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.pricing__card--enterprise .pricing__volume {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.pricing__features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.checkmark {
    color: var(--secondary);
    font-weight: 600;
}

/* Pricing Value Points */
.pricing__value {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.value-point {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.value-icon {
    font-size: 1.5rem;
    background: rgba(66, 133, 244, 0.1);
    padding: 0.75rem;
    border-radius: 8px;
}

.value-text {
    color: var(--gray-600);
    line-height: 1.5;
}

.value-text strong {
    color: var(--gray-900);
}

/* Currency-specific text display */
.zar-text {
    display: none;
}

.currency-zar .usd-text {
    display: none;
}

.currency-zar .zar-text {
    display: inline;
}

/* Update amounts for ZAR currency */
.currency-zar .pricing__card:nth-child(1) .amount::after { content: "0"; }
.currency-zar .pricing__card:nth-child(2) .amount::after { content: "169"; }
.currency-zar .pricing__card:nth-child(3) .amount::after { content: "349"; }
.currency-zar .pricing__card:nth-child(4) .amount::after { content: "899"; }
.currency-zar .pricing__card:nth-child(5) .amount::after { content: "2,699"; }

.currency-zar .currency::after { content: "R"; }

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.button--large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

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

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

.button--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
}

.button--secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.button--secondary:hover {
    background: var(--primary);
    color: white;
}

.button--outline {
    background: transparent;
    color: var(--gray-900);
    border-color: #d1d5db;
}

.button--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta__description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta__note {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 4rem 0 2rem 0;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer__group h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer__group ul {
    list-style: none;
}

.footer__group ul li {
    margin-bottom: 0.5rem;
}

.footer__group ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__group ul li a:hover {
    color: white;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer__bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__stats {
        justify-content: center;
    }
    
    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing__value {
        grid-template-columns: 1fr;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav__list {
        display: none;
    }
}
