:root {
    --bg-base: #FDFBF8;
    /* Warm off-white */
    --primary: #C6A87D;
    /* Gold/Beige from image */
    --primary-dark: #A68A64;
    --text: #2A2A2A;
    /* Soft black */
    --text-soft: #6A6A6A;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(198, 168, 125, 0.15);
    --radius: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--bg-base);
    background-image: url('assets/bg-texture.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo,
.logo-small {
    font-family: 'Cormorant Garamond', serif;
}

/* Glassmorphism Classes */
.glass-nav {
    background: rgba(253, 251, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(198, 168, 125, 0.12);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo .accent {
    color: var(--primary);
    /* Gold color */
    font-weight: 500;
}

/* Hidden image logos */
.logo-img,
.logo-img-small {
    display: none;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s;
}

.btn-nav {
    background: var(--text);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem !important;
    transition: transform 0.2s;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-only {
    display: none;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 140px 5% 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    /* Soft white gradient to improve text readability on the left */
    background: linear-gradient(90deg, rgba(253, 251, 248, 0.95) 0%, rgba(253, 251, 248, 0.8) 40%, rgba(253, 251, 248, 0) 100%);
    border-radius: 30px;
    /* Soft edges for the overlay */
}

.badge {
    display: inline-block;
    background: #fff;
    /* Solid white background for contrast */
    color: var(--primary-dark);
    padding: 8px 20px;
    /* Slightly larger padding */
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    /* Bolder text */
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(198, 168, 125, 0.2);
    /* Stronger shadow */
    border: 1px solid rgba(198, 168, 125, 0.15);
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 24px;
    color: #1a1a1a;
    /* Darker black for better contrast */
    font-weight: 600;
}

.hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: #967d5a;
    /* Slightly darker gold */
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-soft);
    margin-bottom: 40px;
    max-width: 480px;
    font-weight: 300;
}

.cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--text);
    color: #fff;
    padding: 16px 36px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn-text {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border 0.3s;
}

.btn-text:hover {
    border-bottom-color: var(--text);
}

/* Removed trust-badge styles */

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.floating-phone {
    max-width: 100%;
    height: auto;
    max-height: 700px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features */
.features {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-soft);
}

/* Visual Break */
.visual-break {
    padding: 120px 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/hero-mockup.png');
    /* Fallback */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    max-width: 800px;
}

.visual-break h2 {
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 24px;
}

/* Pricing */
.pricing {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.pricing-teaser {
    width: 100%;
    max-width: 700px;
    padding: 80px 40px;
    text-align: center;
    border: 1px solid rgba(198, 168, 125, 0.2);
}

.teaser-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 10px rgba(198, 168, 125, 0.3));
}

.pricing-teaser h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text);
}

.pricing-teaser p {
    color: var(--text-soft);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 40px;
}

.teaser-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.t-badge {
    background: rgba(198, 168, 125, 0.1);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(198, 168, 125, 0.2);
}

/* Money back text removed */

/* Register */
.register {
    padding: 100px 5%;
}

.register-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.register-content {
    width: 100%;
    max-width: 500px;
}

.register-content h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 16px;
}

.register-content p {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-soft);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-soft);
}

input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

input:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(198, 168, 125, 0.1);
}

.disclaimer {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 16px;
    color: var(--text-soft);
}

footer {
    padding: 100px 5% 60px;
    text-align: center;
    background: #FAF7F2;
    border-top: 1px solid rgba(198, 168, 125, 0.15);
    margin-top: 60px;
}

.footer-content p {
    color: var(--text-soft);
    font-size: 1rem;
    margin-top: 20px;
    letter-spacing: 0.02em;
    opacity: 0.8;
}

/* Comparison Section */
.comparison {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-container {
    padding: 0;
    overflow: hidden;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 24px 30px;
    border-bottom: 1px solid rgba(198, 168, 125, 0.1);
}

.comparison-table th {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-soft);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    background: rgba(198, 168, 125, 0.03);
}

.comparison-table .feature-col {
    width: 40%;
}

.comparison-table .us-col {
    color: var(--primary-dark);
    font-weight: 600;
}

.comparison-table .premium-cell {
    background: rgba(198, 168, 125, 0.05);
}

.comparison-table td .check {
    color: #27ae60;
    margin-right: 8px;
    font-weight: bold;
    font-size: 1.1rem;
}

.comparison-table td .cross {
    color: #e74c3c;
    margin-right: 8px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Mobile & Tablet */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
        padding-bottom: 40px;
        gap: 40px;
    }

    .hero h1 {
        font-size: 3rem;
        /* Still large but fits screen */
        line-height: 1.1;
    }

    .subtitle {
        margin: 0 auto 32px;
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .cta-group {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 40px;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    /* Footer Mobile Adjustments */
    footer {
        padding: 60px 20px 30px;
    }

    .footer-content p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .hero-image {
        margin-top: 20px;
    }

    .floating-phone {
        max-height: 500px;
    }

    /* Adjust cards for mobile */
    .features {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .feature-grid {
        gap: 20px;
    }

    .pricing {
        padding: 60px 20px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .price {
        font-size: 3.5rem;
    }

    .visual-break {
        padding: 80px 20px;
    }

    .visual-break h2 {
        font-size: 1.8rem;
    }

    /* Register form mobile */
    .register {
        padding: 60px 20px;
    }

    .register-wrapper {
        padding: 30px 20px;
    }

    .register-content h2 {
        font-size: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .input-group {
        margin-bottom: 16px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 16px 20px;
    }

    .mobile-only {
        display: block;
        background: var(--primary);
        color: white;
        padding: 8px 16px;
        border-radius: 50px;
        font-size: 0.85rem !important;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(198, 168, 125, 0.3);
    }
}

/* Premium Card Layout for Comparison on Mobile */
@media (max-width: 600px) {
    .comparison {
        padding: 40px 10px;
    }

    .comparison .section-header {
        margin-bottom: 30px;
    }

    .comparison .section-header h2 {
        font-size: 1.8rem;
    }

    .comparison-container {
        border-radius: 12px;
    }

    .table-scroll {
        overflow-x: hidden;
        /* Prevent horizontal scroll */
    }

    .comparison-table {
        display: table;
        /* Back to table */
        min-width: 0;
        table-layout: fixed;
        font-size: 0.75rem;
    }

    .comparison-table thead {
        display: table-header-group;
    }

    .comparison-table tr {
        display: table-row;
        margin-bottom: 0;
        border: none;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }

    .comparison-table th,
    .comparison-table td {
        display: table-cell;
        padding: 10px 4px;
        word-wrap: break-word;
        vertical-align: middle;
        text-align: center;
        font-size: 0.7rem;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        width: 40%;
        text-align: left;
        padding-left: 10px;
        font-weight: 500;
        border-bottom: 1px solid rgba(198, 168, 125, 0.1);
        margin-bottom: 0;
    }

    .comparison-table .competitor-col,
    .comparison-table td:nth-child(2) {
        width: 32%;
    }

    .comparison-table .us-col,
    .comparison-table td:nth-child(3) {
        width: 28%;
    }

    /* Remove the card-specific pseudo-elements */
    .comparison-table td::before {
        content: none !important;
    }

    .comparison-table td .check,
    .comparison-table td .cross {
        font-size: 0.9rem;
        margin-right: 4px;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }
}