/* GERTA Landing Page Styles */
/* Based on Figma Design */

:root {
    /* Colors from Figma */
    --teal-dark: #01433F;
    --teal: #004F49;
    --cream: #F4F0E9;
    --cream-warm: #F9EFD7;
    --white: #FFFFFF;
    --black: #000000;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 60px 20px;
    --container-max: 420px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--black);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, var(--teal-dark) 0%, var(--teal-dark) 60%, var(--cream) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(180deg,
        rgba(1, 67, 63, 0.8) 0%,
        rgba(1, 67, 63, 0.95) 50%,
        rgba(1, 67, 63, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container-max);
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    margin-bottom: 40px;
}

.logo-text {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 4px;
}

.logo-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--white);
    opacity: 0.8;
    margin-top: 4px;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    color: var(--white);
    opacity: 0.9;
    max-width: 320px;
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-illustration {
    position: relative;
    width: 220px;
    height: 260px;
    margin-bottom: 20px;
}

.illustration-frame {
    position: absolute;
    top: 10px;
    left: -10px;
    width: 100%;
    height: 100%;
    background: var(--teal);
    border: 1px solid var(--cream-warm);
    border-radius: 24px;
    transform: rotate(-2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.illustration-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.hero-tagline {
    font-size: 14px;
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--cream-warm);
    color: var(--teal-dark);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Sections */
.section {
    padding: var(--section-padding);
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    color: var(--teal-dark);
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--teal-dark);
    opacity: 0.7;
    text-align: center;
    margin-bottom: 30px;
}

.section-intro {
    font-size: 15px;
    color: var(--black);
    opacity: 0.8;
    text-align: center;
    max-width: 340px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Why Section */
.why-section {
    background: var(--cream);
}

.problems-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.problem-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
}

.problem-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    color: var(--teal);
}

.problem-icon svg {
    width: 100%;
    height: 100%;
}

.problem-card p {
    font-size: 13px;
    color: var(--black);
    line-height: 1.4;
}

/* How Section */
.how-section {
    background: var(--cream);
}

.highlight-box {
    background: var(--teal-dark);
    color: var(--white);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: center;
}

.highlight-box p {
    font-size: 14px;
    line-height: 1.6;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--teal);
    min-width: 32px;
}

.feature-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--teal-dark);
    margin-bottom: 8px;
}

.feature-tagline {
    font-size: 13px;
    color: var(--teal);
    font-style: italic;
    margin-bottom: 8px;
}

.feature-points {
    list-style: none;
    font-size: 14px;
    color: var(--black);
    opacity: 0.8;
}

.feature-points li {
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.feature-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
}

/* Comparison Section */
.comparison-section {
    background: var(--cream);
    padding-bottom: 40px;
}

.comparison-table {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.table-header {
    background: var(--teal-dark);
}

.table-header .table-cell {
    color: var(--white);
    font-size: 11px;
    font-weight: 500;
    padding: 12px 8px;
    text-align: center;
}

.table-header .table-cell.highlight {
    background: var(--teal);
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    padding: 12px 8px;
    font-size: 11px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-cell.row-label {
    font-weight: 500;
    color: var(--teal-dark);
    justify-content: flex-start;
    padding-left: 12px;
}

.table-cell.highlight {
    background: rgba(0, 79, 73, 0.08);
    color: var(--teal);
    font-weight: 600;
}

.table-cell.negative {
    color: #999;
}

.table-cell.positive {
    color: var(--teal);
}

/* Target Section */
.target-section {
    background: var(--cream);
    padding-top: 20px;
}

.target-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tag {
    background: var(--white);
    color: var(--teal-dark);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--teal-dark);
    color: var(--white);
}

/* Early Access Section */
.early-access-section {
    background: var(--teal-dark);
    color: var(--white);
    padding: 60px 20px;
}

.early-access-section .section-title {
    color: var(--white);
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.benefit-icon {
    color: var(--cream-warm);
    font-weight: bold;
}

.cta-text {
    text-align: center;
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
}

.email-input {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-family: var(--font-body);
    background: var(--white);
    color: var(--black);
}

.email-input::placeholder {
    color: #999;
}

.email-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 239, 215, 0.3);
}

.signup-form .btn-primary {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--teal-dark);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer .logo-text {
    font-size: 24px;
}

.copyright {
    font-size: 12px;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
.hero-content > *:nth-child(6) { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 400px) {
    .hero-title {
        font-size: 32px;
    }

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

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .table-header .table-cell,
    .table-cell {
        font-size: 10px;
        padding: 10px 4px;
    }
}

@media (min-width: 768px) {
    :root {
        --container-max: 600px;
        --section-padding: 80px 40px;
    }

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

    .hero-description {
        font-size: 18px;
        max-width: 400px;
    }

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

    .problems-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .signup-form {
        flex-direction: row;
        max-width: 480px;
    }

    .email-input {
        flex: 1;
    }

    .signup-form .btn-primary {
        width: auto;
    }
}
