/* Base styles and variables */
:root {
    --primary: #009688;      /* Teal */
    --secondary: #FF6D00;    /* Orange */
    --dark: #212121;         /* Dark gray for text */
    --light: #f5f5f5;        /* Light gray for background */
    --gray: #757575;         /* Medium gray for secondary text */
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #009688 0%, #4DB6AC 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6D00 0%, #FF9E40 100%);
    --border-radius: 10px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

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

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--dark);
}

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

h2 span {
    color: var(--secondary);
    position: relative;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 109, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 109, 0, 0.4);
    color: var(--white);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Header styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon.small {
    width: 32px;
    height: 32px;
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

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

.nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

.menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Hero section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(245,245,245,1) 0%, rgba(236,239,241,1) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wave-pattern {
    width: 100%;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* About section */
.about {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.info-box {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background-color: var(--light);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
}

/* Benefits section */
.benefits {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(236,239,241,1) 0%, rgba(245,245,245,1) 100%);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    transition: transform 0.3s ease;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

/* Generate section */
.generate {
    padding: 5rem 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.generate-content {
    max-width: 700px;
    margin: 0 auto;
}

.generate h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.generate h2 span {
    color: var(--secondary);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.generate p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.generate .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.generate .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Footer styles */
.footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo p {
    margin: 0;
    color: var(--white);
    font-weight: 500;
}

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

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
    left: 0;
    bottom: -8px;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
}

.age-disclaimer {
    color: var(--secondary);
    font-weight: 600;
}

/* Responsive styles */
@media screen and (max-width: 992px) {
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-text h2 {
        font-size: 2.8rem;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .benefit-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .hero-text h2 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        width: 100%;
    }
    
    .info-boxes {
        grid-template-columns: 1fr;
    }
}
