:root {
    --primary-color: #00b09b;
    --secondary-color: #96c93d;
    --text-color: #333333;
    --light-text: #ffffff;
    --background: #f9f9f9;
    --dark-background: #1a1a1a;
    --card-bg: #ffffff;
    --card-shadow: 0 8px 30px rgba(0, 176, 155, 0.15);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --border-radius: 10px;
    --header-height: 70px;
    --transition: all 0.3s ease;
    --container-width: 1140px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    overflow-x: hidden;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1.5rem;
    color: rgba(51, 51, 51, 0.9);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Highlight Spans */
span {
    color: var(--primary-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient);
    color: var(--light-text);
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 176, 155, 0.3);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 176, 155, 0.4);
    color: var(--light-text);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
    backdrop-filter: blur(5px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.logo svg {
    margin-right: 15px;
}

.logo span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

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

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    font-weight: 600;
    color: var(--text-color);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 5rem;
    background: linear-gradient(170deg, #f9f9f9 65%, rgba(0, 176, 155, 0.08) 65%);
    position: relative;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background-color: var(--background);
    text-align: center;
}

.benefits h2 {
    margin-bottom: 3rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 176, 155, 0.2);
}

.card-icon {
    margin-bottom: 1.5rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #f0f6f6;
    text-align: center;
}

.features h2 {
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem 2rem;
}

.feature {
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 176, 155, 0.1);
    transition: var(--transition);
    position: relative;
    background: var(--card-bg);
}

.feature::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 3px;
    background: var(--gradient);
    border-radius: 0 0 3px 3px;
    transition: var(--transition);
}

.feature:hover {
    border-color: rgba(0, 176, 155, 0.3);
}

.feature:hover::before {
    width: 80%;
}

/* Try Now Section */
.try-now {
    padding: 7rem 0;
    background: var(--gradient);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.try-now::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.try-now .container {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.try-content {
    flex: 1;
}

.try-content h2 {
    color: var(--light-text);
}

.try-content span {
    color: var(--light-text);
    position: relative;
}

.try-content span::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--light-text);
    border-radius: 1.5px;
}

.try-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.try-content .btn {
    background: var(--light-text);
    color: var(--primary-color);
}

.try-content .btn:hover {
    background: #f0f0f0;
}

.caption-demo {
    flex: 1;
}

/* Footer */
footer {
    background-color: var(--dark-background);
    color: var(--light-text);
    padding-top: 5rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo svg {
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--light-text);
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient);
}

.link-group ul li {
    margin-bottom: 1rem;
}

.link-group ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.link-group ul li a:hover {
    color: var(--light-text);
}

.copyright {
    padding: 1.5rem 0;
    text-align: center;
}

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container,
    .try-now .container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-visual,
    .caption-demo {
        max-width: 500px;
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--card-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 100;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        right: 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .link-group {
        text-align: center;
    }
    
    .link-group h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .cards {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
    }
}
