/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #ff5252;
    --table-header: #2d3846;
    --accent-color: #fbbf24;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --success-color: #10b981;
    --container-width: 1200px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Header */
.header {
    padding: 1rem 0;
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    height: 40px;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 74px);
    min-height: calc(100dvh - 74px);
    padding: 0;
    background-image: url(https://media.istockphoto.com/id/1289221120/photo/happy-smiling-woman-stretching-on-bed-in-the-morning.jpg?s=1024x1024&w=is&k=20&c=Hywua-wx3UTjkpNqdLOVPCny9hN-E0tpOwwFZCp7Aqs=);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
    text-align: center;
    display: flex;
    align-items: center;
}

.hero .container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.hero h1 {
    color: var(--table-header);
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.hero .subheadline {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: auto;
    max-height: calc(100vh - 300px); /* Reserve space for text and buttons */
    max-height: calc(100dvh - 300px); /* Modern browsers */
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

@supports (-webkit-touch-callout: none) {
    /* iOS-specific fix */
    .hero {
        min-height: -webkit-fill-available;
    }
    
    .hero .container {
        margin: 2rem;
    }
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    background: var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    background: var(--secondary-color);
}

.cta-button.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,107,107,0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255,107,107,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255,107,107,0);
    }
}

/* Problem & Solution Section */
.problem-solution {
    padding: 6rem 2rem;
    background: var(--white);
}

.section-title {
    text-align: center;
    color: var(--table-header);
    font-size: 3rem;
    margin-bottom: 4rem;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1600px;
    margin: 0 auto;
}

.solution-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--light-bg);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.solution-block:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    position: relative;
    z-index: 1;
}

.solution-block.reverse {
    direction: rtl;
}

.content-wrapper {
    padding: 6rem;
    direction: ltr;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.content-wrapper h3 {
    font-size: 2.5rem;
    color: var(--table-header);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
    color: var(--text-color);
}

.feature-list li i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.feature-list.success li i {
    color: var(--success-color);
}

.image-wrapper {
    height: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.solution-block:hover .image-wrapper {
    transform: scale(1.05);
}

.before-image {
    background-image: url('assets/before.png');
}

.after-image {
    background-image: url('assets/after.png');
}

@media (max-width: 1200px) {
    .hero {
        padding: 5rem 0;
        min-height: 70vh;
    }

    .hero-image {
        max-width: 700px;
    }

    .content-wrapper {
        padding: 4rem;
    }
    
    .content-wrapper h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
        min-height: 60vh;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero .subheadline {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

    .hero-image {
        max-width: 100%;
    }

    .problem-solution {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .solution-block {
        grid-template-columns: 1fr;
    }

    .solution-block.reverse {
        direction: ltr;
    }

    .content-wrapper {
        padding: 3rem 2rem;
    }

    .content-wrapper h3 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .feature-list li {
        font-size: 1.125rem;
    }

    .image-wrapper {
        min-height: 400px;
        order: -1;
    }

    .hero-content {
        padding: 3rem 0;
    }
    
    .hero-image {
        max-height: calc(100vh - 250px);
        max-height: calc(100dvh - 250px);
    }

    .hero .container {
        padding: 2rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
        min-height: auto;
    }

    h1 {
        font-size: 2rem;
    }

    .hero .subheadline {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .problem-solution {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .comparison-grid {
        gap: 0;
    }

    .content-wrapper {
        padding: 2rem 1.5rem;
    }

    .image-wrapper {
        min-height: 300px;
    }

    .hero-image {
        max-height: calc(100vh - 200px);
        max-height: calc(100dvh - 200px);
    }

    .hero .container {
        padding: 1.5rem;
        margin: 1rem;
        backdrop-filter: blur(5px);
    }
}

/* Product Showcase */
.product-showcase {
    padding: 4rem 0;
    background: var(--light-bg);
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-item {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 0.8;
    object-fit: cover;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    padding: 10px;
    background: var(--white);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.benefit-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.pack-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.pack {
    position: relative;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    aspect-ratio: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pack:hover {
    transform: translateY(-5px);
}

.pack.recommended {
    border: 2px solid var(--primary-color);
}

.badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.comparison-table:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
}

th, td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--light-bg);
}

th {
    background: var(--table-header);
    color: var(--white);
    font-weight: 600;
}

td {
    transition: background-color 0.3s ease;
}

tr:hover td {
    background-color: var(--light-bg);
}

/* Social Proof */
.social-proof {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

.stars {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Media Proof */
.media-proof {
    padding: 4rem 0;
    background: var(--light-bg);
    text-align: center;
}

.media-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

/* Guarantee */
.guarantee {
    padding: 6rem 0;
    background: var(--white);
    text-align: center;
}

.guarantee-headline {
    font-size: 4rem;
    color: var(--table-header);
    text-transform: uppercase;
    margin-bottom: 3rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.guarantee-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.guarantee-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 800px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.1);
}

.guarantee-icon {
    margin-bottom: 1.5rem;
}

.guarantee-icon i {
    font-size: 4rem;
    color: var(--primary-color);
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.guarantee-title {
    font-size: 2.5rem;
    color: var(--table-header);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.guarantee-subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.trust-badge-item i {
    font-size: 2rem;
    color: var(--primary-color);
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.1));
}

.trust-badge-item span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--table-header);
}

/* Add icons to various sections */
.feature-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.faq-question::before {
    font-family: "Font Awesome 5 Free";
    content: "\f059";
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pack i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* FAQ */
.faq {
    padding: 4rem 0;
    background: var(--light-bg);
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    margin-left: auto;
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    text-align: left;
}

.faq-item.active .faq-answer {
    padding: 1rem;
    max-height: 1000px;
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* Urgency */
.urgency {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.countdown-item {
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem;
    border-radius: 10px;
    min-width: 80px;
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 0.875rem;
    color: var(--text-color);
}

/* Final CTA */
.final-cta {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

/* CTA Container */
.cta-container {
    text-align: center;
    margin: 3rem 0;
}

.cta-button.cta-large {
    font-size: 1.5rem;
    padding: 1.25rem 3rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.cta-button.cta-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

/* Guarantee Section Enhancement */
.guarantee-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    max-width: 800px;
}

.guarantee-text i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.guarantee-text p {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--table-header);
    line-height: 1.4;
    text-align: left;
    margin: 0;
}

/* Pack Icons Enhancement */
.multi-box-icon {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.multi-box-icon.triangle-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.triangle-stack .icon-row {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.triangle-stack i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.multi-box-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .pack-options {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        margin: 1rem -20px;
    }

    table {
        font-size: 0.875rem;
    }

    .trust-badges {
        gap: 2rem;
    }

    .guarantee-headline {
        font-size: 2.5rem;
    }

    .guarantee-box {
        padding: 2rem;
    }

    .guarantee-icon i {
        font-size: 3rem;
    }

    .guarantee-title {
        font-size: 2rem;
    }

    .guarantee-subtitle {
        font-size: 1.25rem;
    }

    .trust-badge-item i {
        font-size: 1.75rem;
    }

    .trust-badge-item span {
        font-size: 1rem;
    }

    .guarantee-text {
        padding: 1.5rem;
    }

    .guarantee-text p {
        font-size: 1.4rem;
    }

    .cta-button.cta-large {
        font-size: 1.25rem;
        padding: 1rem 2.5rem;
    }

    .multi-box-icon {
        gap: 0.25rem;
    }
    
    .multi-box-icon i {
        font-size: 1.25rem;
    }

    .triangle-stack i {
        font-size: 1rem;
    }
    
    .triangle-stack .icon-row {
        gap: 0.15rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .countdown {
        flex-wrap: wrap;
    }

    .guarantee-text {
        flex-direction: column;
        text-align: center;
    }

    .guarantee-text p {
        font-size: 1.2rem;
        text-align: center;
    }

    .trust-badges {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .triangle-stack i {
        font-size: 0.9rem;
    }
} 