:root {
    --primary: #17807e;
    --secondary: #103946;
    --light: #e8f7f7;
    --white: #ffffff;
    --gray: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, sans-serif;
}

body {
    color: var(--secondary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    max-width: 240px;
    height: auto;
    padding: 20px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 200;
}

.nav-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary);
    transition: all 0.3s ease-in-out;
}

.nav-wrapper {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: 25px;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--primary);
}

.buttons {
    display: flex;
    align-items: center;
}

.login-btn {
    margin-right: 15px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.mobile-menu-btn {
    display: none;
}

.checkout-btn {
    color: var(--white);
    background-color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.checkout-btn:hover {
    background-color: #126a68;
}

/* Promo Bar */
.promo-bar {
    background-color: #b60100;
    color: var(--white);
    text-align: center;
    padding: 10px;
    font-weight: 600;
    cursor: pointer;
}

.promo-bar a {
    color: var(--white);
    text-decoration: none;
    display: block;
}

/* Banner */
.banner {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slideshow-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow-item.active {
    opacity: 1;
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 57, 70, 0.8);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.cta-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: background-color 0.3s;
    display: inline-block;
}

.cta-btn:hover {
    background-color: #126a68;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1 0 200px;
    text-align: center;
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon img {
    width: 40px;
    height: 40px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.step p {
    font-size: 16px;
    color: #666;
}

.learn-more {
    display: block;
    text-align: center;
    margin-top: 40px;
}

.learn-more a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
    transition: color 0.3s;
}

.learn-more a:hover {
    color: #126a68;
}

/* Product Showcase */
.product-showcase {
    padding: 80px 0;
}

.product-container {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.product-image {
    flex: 1;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-details {
    flex: 1;
}

.product-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.regular-price {
    text-decoration: line-through;
    font-size: 20px;
    color: #999;
    margin-right: 15px;
}

.sale-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.product-description {
    margin-bottom: 30px;
    font-size: 16px;
    color: #555;
}

.product-features {
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-icon {
    color: var(--primary);
    margin-right: 10px;
    font-weight: bold;
}

/* Demo Section */
.demo-section {
    padding: 80px 0;
    background-color: var(--light);
    text-align: center;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.demo-qr {
    margin: 40px auto;
    padding: 20px;
    background-color: var(--white);
    display: inline-block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.demo-qr img {
    width: 200px;
    height: 200px;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1 0 200px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-column p {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 14px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #ccc;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .product-container {
        flex-direction: column;
    }
    
    .step {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .step {
        flex: 0 0 100%;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 150;
    }
    
    .nav-wrapper.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .nav-links li {
        margin: 10px 0;
        margin-left: 0;
        width: 100%;
    }
    
    .nav-links a {
        padding: 10px 0;
        width: 100%;
        font-size: 18px;
    }
    
    .buttons {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    
    .login-btn {
        margin-right: 0;
        margin-bottom: 15px;
        font-size: 16px;
        display: block;
        width: 100%;
    }
    
    .checkout-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 0;
        font-size: 16px;
    }
    
    /* Animation for hamburger menu */
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Prevent body scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Overlay for mobile menu */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 140;
        display: none;
    }
    
    .menu-overlay.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 10px 0;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .cta-btn {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}