/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5BBBDB;
    --secondary-color: #F4D03F;
    --dark-color: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Dark Mode Variables */
body.dark-mode {
    --dark-color: #ffffff;
    --light-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --white: #121212;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--white);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 50px;
    width: auto;
}

/* Dark Mode Toggle Switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #5BBBDB, #4AABCB);
    border-radius: 30px;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.sun, .moon {
    font-size: 14px;
    z-index: 1;
    transition: opacity 0.3s;
}

.sun {
    opacity: 1;
}

.moon {
    opacity: 0.3;
}

input:checked + .slider .sun {
    opacity: 0.3;
}

input:checked + .slider .moon {
    opacity: 1;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: #4AABCB;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.large {
    padding: 18px 45px;
    font-size: 1.1em;
}

.cta-button.amazon {
    background: linear-gradient(135deg, #FF9900, #FF6600);
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button.amazon:hover {
    background: linear-gradient(135deg, #FF8800, #FF5500);
}

.amazon-icon {
    font-size: 1.3em;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3em;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.3em;
    color: #555;
    margin-bottom: 30px;
}

.hero-benefits {
    list-style: none;
    margin: 30px 0;
}

.hero-benefits li {
    font-size: 1.1em;
    padding: 10px 0;
    color: var(--text-color);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: var(--white);
}

.problem-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.section-intro {
    text-align: center;
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Solution Section */
.solution-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #4AABCB);
    color: var(--white);
}

.solution-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.solution-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.solution-text h3 {
    font-size: 2em;
    margin-bottom: 20px;
}

.solution-text p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
}

.solution-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--white);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: var(--dark-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.4em;
    margin: 20px 20px 10px;
    color: var(--dark-color);
}

.feature-card p {
    padding: 0 20px 20px;
    color: #666;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-icon {
    font-size: 2.5em;
    flex-shrink: 0;
}

.benefit-text h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.benefit-text p {
    color: #666;
    line-height: 1.6;
}

.benefits-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* Showcase Section */
.showcase-section {
    padding: 80px 0;
    background: var(--white);
}

.showcase-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: var(--dark-color);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.showcase-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Specifications Section */
.specs-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.specs-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: var(--dark-color);
}

.specs-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.specs-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.specs-list {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item strong {
    color: var(--dark-color);
    font-weight: 600;
}

.spec-item span {
    color: #666;
}

/* Final CTA Section */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-color), #2c2c2c);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.guarantee {
    margin-top: 20px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer p {
    opacity: 0.8;
}

/* Dark Mode Specific Styles */
body.dark-mode .navbar {
    background: rgba(18, 18, 18, 0.95);
}

body.dark-mode .navbar.scrolled {
    background: #121212;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #1e1e1e 0%, #2c2c2c 100%);
}

body.dark-mode .problem-section {
    background: #181818;
}

body.dark-mode .problem-card {
    background: #242424;
    color: var(--text-color);
}

body.dark-mode .problem-card h3 {
    color: var(--dark-color);
}

body.dark-mode .solution-section {
    background: linear-gradient(135deg, #2c5565, #1e4050);
}

body.dark-mode .features-section {
    background: #181818;
}

body.dark-mode .feature-card {
    background: #242424;
}

body.dark-mode .feature-card h3 {
    color: var(--dark-color);
}

body.dark-mode .feature-card p {
    color: #b0b0b0;
}

body.dark-mode .benefits-section {
    background: #1e1e1e;
}

body.dark-mode .benefit-text h3 {
    color: var(--dark-color);
}

body.dark-mode .benefit-text p {
    color: #b0b0b0;
}

body.dark-mode .showcase-section {
    background: #181818;
}

body.dark-mode .specs-section {
    background: #1e1e1e;
}

body.dark-mode .specs-list {
    background: #242424;
}

body.dark-mode .spec-item {
    border-bottom: 1px solid #3a3a3a;
}

body.dark-mode .spec-item strong {
    color: var(--dark-color);
}

body.dark-mode .spec-item span {
    color: #b0b0b0;
}

body.dark-mode .final-cta {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
}

body.dark-mode .footer {
    background: #0a0a0a;
}

body.dark-mode .section-intro,
body.dark-mode .subtitle,
body.dark-mode .problem-card p {
    color: #b0b0b0;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
    color: var(--dark-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content,
    .solution-content,
    .benefits-content,
    .specs-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.2em;
    }

    .solution-stats {
        grid-template-columns: 1fr;
    }

    .benefits-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav-right {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-text h1 {
        font-size: 1.8em;
    }

    .subtitle {
        font-size: 1.1em;
    }

    .problem-grid,
    .features-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .solution-section h2,
    .features-section h2,
    .benefits-section h2,
    .specs-section h2,
    .problem-section h2,
    .showcase-section h2 {
        font-size: 2em;
    }

    .cta-content h2 {
        font-size: 2em;
    }

    .cta-button.large {
        padding: 15px 30px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5em;
    }

    .logo {
        height: 40px;
    }

    .footer-logo {
        height: 50px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.8s ease-out;
}
