/* Global Variables */
:root {
    --primary: #009688;
    --primary-dark: #00796b;
    --primary-light: #e0f2f1;
    --accent: #ff9800;
    --dark: #212121;
    --light: #ffffff;
    --gray: #757575;
    --light-gray: #f5f5f5;
    --border-radius: 6px;
    --shadow: 0 4px 10px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* Base Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Segoe UI', system-ui, -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 1rem;
}

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

ul {
    list-style: none;
}

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

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light);
    box-shadow: var(--shadow);
    z-index: 100;
    padding: 1rem 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.site-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

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

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-cta {
    background-color: var(--primary);
    color: var(--light) !important;
    padding: 0.5rem 1.2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.nav-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-icon {
    width: 24px;
    height: 18px;
    position: relative;
    z-index: 2;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
    left: 0;
}

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

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

/* Hero Section */
.hero {
    padding-top: 6rem;
    padding-bottom: 5rem;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

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

.hero-text {
    flex: 1;
}

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

.accent {
    color: var(--primary);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-graphic svg {
    max-width: 100%;
    height: auto;
}

/* Button Styles */
.primary-btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light);
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 150, 136, 0.3);
    color: var(--light);
}

.primary-btn.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.secondary-btn {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    margin-left: 1rem;
}

.secondary-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Features Section */
.features {
    background-color: var(--light-gray);
}

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

.card {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    color: var(--gray);
}

/* Generator Section */
.generator {
    background-color: var(--light);
}

.generator-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.generator-text {
    flex: 1;
}

.generator-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.generator-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 1rem 0 0;
    border-radius: 2px;
}

.generator-text p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.generator-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.steps {
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1.5rem;
}

.step-content h3 {
    margin-bottom: 0.3rem;
}

.step-content p {
    margin-bottom: 0;
}

/* About Section */
.about {
    background-color: var(--light-gray);
}

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

.info-block {
    background-color: var(--light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.info-block h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* CTA Section */
.cta {
    background: linear-gradient(120deg, var(--primary-dark), var(--primary));
    text-align: center;
    color: var(--light);
    padding: 5rem 0;
}

.cta h2 {
    color: var(--light);
    margin-bottom: 1.5rem;
}

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

.cta .primary-btn {
    background-color: var(--light);
    color: var(--primary);
}

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

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: var(--light);
    margin-bottom: 0.3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

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

.footer-links h4 {
    color: var(--light);
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

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

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

.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.7);
    margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container, .generator-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text, .generator-text {
        order: 0;
    }
    
    .hero-graphic, .generator-visual {
        order: 1;
        max-width: 70%;
        margin: 0 auto;
    }
    
    .generator-text h2::after {
        margin: 1rem auto 0;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .step {
        justify-content: center;
    }
    
    .steps {
        max-width: 400px;
        margin: 2rem auto;
    }
}

@media (max-width: 768px) {
    .menu-button {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--light);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        z-index: 1;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        display: block;
        padding: 0.8rem 0;
        width: 100%;
        text-align: center;
    }
    
    .menu-button.active .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-button.active .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-button.active .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-nav {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-graphic, .generator-visual {
        max-width: 100%;
    }
    
    .secondary-btn {
        margin-left: 0;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 2rem;
    }
}
