/* Typography Style Guide */
:root {
    /* Font Sizes - Desktop */
    --font-display: 3rem;      /* 48px - Main headlines (H1) */
    --font-heading: 2rem;      /* 32px - Section headers (H2) */
    --font-subheading: 1.25rem; /* 20px - UVP, descriptions */
    --font-body-large: 1.125rem; /* 18px - Important text, buttons */
    --font-body: 1rem;         /* 16px - Standard text, forms */
    --font-small: 0.875rem;    /* 14px - Legal, fine print */
    
    /* Font Weights */
    --weight-bold: 700;        /* Headings */
    --weight-semibold: 600;    /* Buttons, strong text */
    --weight-regular: 400;     /* Body text */
}

/* Mobile Typography Scale */
@media (max-width: 768px) {
    :root {
        --font-display: 2.5rem;    /* 40px */
        --font-heading: 1.75rem;   /* 28px */
        --font-subheading: 1.125rem; /* 18px */
        --font-body-large: 1rem;   /* 16px */
        --font-body: 0.875rem;     /* 14px */
        --font-small: 0.75rem;     /* 12px */
    }
}

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: #ffffff;
}

/* Hero Section - Compact */
.hero {
    display: flex;
    align-items: center;
    background: #0A4F6B;
    padding: 60px 0;
    min-height: max(50vh, 400px);
    color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Content Layout */
.content-left {
    order: 1;
}

.content-right {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo */
.logo-container {
    margin-bottom: 35px;
    position: relative;
}

.logo {
    height: 60px;
    display: block;
}

.logo-fallback {
    display: none;
    font-size: var(--font-heading);
    font-weight: var(--weight-bold);
    color: #ffffff;
    margin: 0;
}

/* If logo fails to load, show fallback text */
.logo:not([src]), .logo[src=""] {
    display: none;
}

.logo:not([src]) + .logo-fallback, 
.logo[src=""] + .logo-fallback {
    display: block;
}

/* Typography */
h1 {
    font-size: var(--font-display);
    font-weight: var(--weight-bold);
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.addressee {
    font-size: var(--font-body);
    font-weight: var(--weight-regular);
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.uvp {
    font-size: var(--font-subheading);
    color: #e2e8f0;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Features */
.features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    color: #e2e8f0;
    font-size: var(--font-body-large);
    line-height: 1.5;
}

.feature-bullet {
    color: #10A6E9;
    font-size: var(--font-body-large);
    font-weight: bold;
    flex-shrink: 0;
    line-height: 1.6;
    margin-top: 0;
}

.feature-item strong {
    color: #ffffff;
}

/* CTA Section */
.cta-section {
    background: #ffffff;
    padding: 80px 0;
    min-height: max(20vh, 300px);
    display: flex;
    align-items: center;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.cta-left {
    text-align: left;
}

.cta-right {
    display: flex;
    justify-content: center;
}

.cta-section h2 {
    font-size: var(--font-heading);
    font-weight: var(--weight-bold);
    color: #0A4F6B;
    margin-bottom: 20px;
}

.cta-description {
    font-size: var(--font-body-large);
    color: #4a5568;
    line-height: 1.5;
}

/* Form Styles */
.signup-form {
    max-width: 400px;
    width: 100%;
}

.form-row {
    margin-bottom: 15px;
}

.form-row input[type="email"],
.form-row input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: var(--font-body);
    background: #ffffff;
    color: #0A4F6B;
    transition: all 0.3s ease;
}

.form-row input:focus {
    outline: none;
    border-color: #10A6E9;
    box-shadow: 0 0 0 3px rgba(16, 166, 233, 0.1);
}

.form-row input::placeholder {
    color: #a0aec0;
}

/* Consent */
.consent-group {
    margin-bottom: 20px;
    text-align: left;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--font-small);
    line-height: 1.4;
    cursor: pointer;
    color: #4a5568;
    max-width: 400px;
}

.consent-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: #10A6E9;
}

.consent-label a {
    color: #10A6E9;
    text-decoration: underline;
}

.consent-label a:hover {
    color: #0EA5E9;
}

/* CTA Button */
.cta-button {
    background: #E95410;
    color: #ffffff;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: var(--font-body-large);
    font-weight: var(--weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    width: 100%;
}

.cta-button:hover {
    background: #DC4914;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 84, 16, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

/* Visual */
.visual-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.parcel-map {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.parcel-map:hover {
    transform: scale(1.02);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 20px;
    }
   
    .hero {
        padding: 40px 0;
        min-height: max(60vh, 500px);
    }
    
    h1 {
        font-size: var(--font-display);
        text-align: left;
    }
    
    .uvp {
        font-size: var(--font-subheading);
        text-align: left;
    }
    
    .features {
        text-align: left;
    }
    
    .visual-container {
        max-width: 100%;
    }
    
    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .cta-left {
        text-align: center;
    }
    
    .cta-section {
        padding: 40px 0;
        min-height: max(40vh, 250px);
    }
    
    .cta-section h2 {
        font-size: var(--font-heading);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .cta-container {
        padding: 0 15px;
    }
    
    .cta-button {
        padding: 16px 24px;
    }
}

/* Features Section - Dark */
.features-section {
    background: #0A4F6B;
    padding: 80px 0;
    color: #ffffff;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.integration-diagram {
    width: 100%;
    max-width: 450px;
}

.diagram-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.diagram-image:hover {
    transform: scale(1.02);
}

.features-right h2 {
    font-size: var(--font-heading);
    font-weight: var(--weight-bold);
    color: #ffffff;
    margin-bottom: 30px;
}

.features-list {
    margin-top: 0;
}

.features-list .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    color: #e2e8f0;
    font-size: var(--font-body-large);
    line-height: 1.6;
}


.features-list .feature-item strong {
    color: #ffffff;
}

/* Secondary CTA Section - White */
.secondary-cta-section {
    background: #ffffff;
    padding: 80px 0;
    color: #0A4F6B;
}

.secondary-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.secondary-cta-left {
    text-align: left;
}

.secondary-cta-right {
    display: flex;
    justify-content: center;
}

.secondary-cta-section h2 {
    font-size: var(--font-heading);
    font-weight: var(--weight-bold);
    color: #0A4F6B;
    margin-bottom: 20px;
}

.secondary-cta-description {
    font-size: var(--font-body-large);
    color: #4a5568;
    line-height: 1.5;
}

.secondary-cta-button {
    background: #E95410;
    color: #ffffff;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: var(--font-body-large);
    font-weight: var(--weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    width: 100%;
}

.secondary-cta-button:hover {
    background: #DC4914;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 84, 16, 0.3);
}

.secondary-cta-button:active {
    transform: translateY(0);
}

/* Screen Reader Only - for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile Responsive - Features Section */
@media (max-width: 768px) {
    .features-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 20px;
    }
    
    .features-right {
        text-align: left;
    }
    
    .features-right h2 {
        font-size: var(--font-heading);
        text-align: center;
    }
    
    .features-list .feature-item {
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .features-list .feature-bullet {
        font-size: var(--font-body-large);
        margin-top: 0;
    }
    
    
    .secondary-cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .secondary-cta-left {
        text-align: center;
    }
    
    .secondary-cta-section h2 {
        font-size: var(--font-heading);
    }
}

@media (max-width: 480px) {
    .features-container {
        padding: 0 15px;
    }
    
    .features-right h2 {
        font-size: var(--font-heading);
    }
    
    .features-list .feature-item {
        font-size: var(--font-body);
    }
    
    .features-list .feature-bullet {
        font-size: var(--font-body);
    }
    
    .secondary-cta-container {
        padding: 0 15px;
    }
    
    .secondary-cta-section h2 {
        font-size: var(--font-heading);
    }
    
    .secondary-cta-description {
        font-size: var(--font-body-large);
    }
    
    .secondary-cta-button {
        padding: 16px 24px;
    }
}
