/* ============================================
   KORA LANDING PAGE - Minimalist Design
   Colors from brand: Teal/Cyan palette
   Typography-driven, no icons, generous spacing
   ============================================ */

/* CSS Variables - Brand Colors */
:root {
    --primary-dark: #0B5563;
    --primary-teal: #14B8A6;
    --primary-teal-hover: #0D9488;
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #6B7280;
    --background-light: #F9FAFB;
    --border-light: #E5E7EB;
    --white: #FFFFFF;

    /* Spacing - 8px grid */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-dark);
}

h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-dark);
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-teal-hover);
}

/* ============================================
   LAYOUT
   ============================================ */

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

.section {
    padding: var(--spacing-3xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-md);
}

.nav-brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

.brand-name {
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: 500;
    color: var(--text-medium);
    transition: color 0.2s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-teal-hover);
    transform: translateY(-1px);
}

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

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

.btn-large {
    padding: 18px var(--spacing-xl);
    font-size: 18px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 100%);
    padding: var(--spacing-3xl) 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-medium);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
}

.hero-feature {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: var(--spacing-xl);
}

.hero-feature strong {
    font-weight: 600;
    color: var(--primary-dark);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.section-services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    padding: var(--spacing-lg);
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-title {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.section-how {
    background-color: var(--background-light);
}

.steps {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.step {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

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

.step-content {
    flex: 1;
}

.step-title {
    margin-bottom: var(--spacing-xs);
}

.step-description {
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ============================================
   COVERAGE SECTION
   ============================================ */

.section-coverage {
    background-color: var(--white);
}

.coverage-checker {
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    padding: var(--spacing-lg);
    background-color: var(--background-light);
    border-radius: 8px;
}

.coverage-checker-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.postcode-input-group {
    display: flex;
    gap: var(--spacing-sm);
}

.postcode-input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 18px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    font-family: var(--font-family);
}

.postcode-input:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.postcode-result {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.postcode-result.success {
    display: block;
    background-color: #D1FAE5;
    color: #065F46;
}

.postcode-result.error {
    display: block;
    background-color: #FEE2E2;
    color: #991B1B;
}

.coverage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.map-container {
    background-color: var(--background-light);
    border-radius: 8px;
    overflow: hidden;
}

.coverage-map {
    width: 100%;
    height: 500px;
}

.postcode-list-container {
    background-color: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.postcode-list-title {
    margin-bottom: var(--spacing-md);
}

.postcode-search {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-family);
}

.postcode-search:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.postcode-list {
    max-height: 400px;
    overflow-y: auto;
}

.postcode-item {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--border-light);
}

.postcode-item:last-child {
    border-bottom: none;
}

.postcode-code {
    font-weight: 600;
    color: var(--primary-dark);
}

.postcode-suburb {
    color: var(--text-medium);
    margin: 0 var(--spacing-xs);
}

.postcode-day {
    display: inline-block;
    padding: 2px 8px;
    background-color: var(--primary-teal);
    color: var(--white);
    font-size: 12px;
    border-radius: 4px;
    font-weight: 500;
}

.postcode-day.tuesday {
    background-color: #3B82F6;
}

.postcode-day.wednesday {
    background-color: #10B981;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.section-pricing {
    background-color: var(--background-light);
}

.pricing-hero {
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--white);
    border-radius: 8px;
}

.price-display {
    margin-bottom: var(--spacing-lg);
}

.price-amount {
    font-size: 72px;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
    line-height: 1;
}

.price-suffix {
    font-size: 24px;
    color: var(--text-medium);
    display: block;
    margin-top: var(--spacing-sm);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.pricing-features li {
    color: var(--text-medium);
    position: relative;
    padding-left: var(--spacing-md);
}

.pricing-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: 700;
}

.pricing-calculator {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    background-color: var(--white);
    border-radius: 8px;
}

.calculator-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.calculator-input-group {
    margin-bottom: var(--spacing-xl);
}

.calculator-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.calculator-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-light);
    outline: none;
    -webkit-appearance: none;
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-teal);
    cursor: pointer;
}

.calculator-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-teal);
    cursor: pointer;
    border: none;
}

.calculator-value-display {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: var(--spacing-md);
}

.calculator-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.calc-result {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--background-light);
    border-radius: 8px;
}

.calc-result-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-result-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.calc-result-sublabel {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}

.calculator-note {
    text-align: center;
    color: var(--text-medium);
    font-size: 14px;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.section-faq {
    background-color: var(--white);
}

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

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: var(--spacing-lg) 0;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-family);
}

.faq-question:hover {
    color: var(--primary-dark);
}

.faq-toggle {
    font-size: 24px;
    font-weight: 400;
    color: var(--primary-teal);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: var(--spacing-lg);
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.section-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
}

.cta-title {
    color: var(--white);
    font-size: 42px;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

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

.section-cta .btn-primary:hover {
    background-color: var(--background-light);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-title {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

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

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

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

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

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

    .section {
        padding: var(--spacing-2xl) 0;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

    .coverage-content {
        grid-template-columns: 1fr;
    }

    .calculator-results {
        grid-template-columns: 1fr;
    }

    .price-amount {
        font-size: 56px;
    }

    .price-suffix {
        font-size: 20px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large {
        width: 100%;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

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

    .postcode-input-group {
        flex-direction: column;
    }

    .calc-result-value {
        font-size: 28px;
    }
}
