/* Base Styles and Reset */
:root {
    --primary: #14B8A6;
    --secondary: #0EA5E9;
    --accent: #8B5CF6;
    --background: #F8FAFC;
    --dark-bg: #0F172A;
    --darker-bg: #020617;
    --card-bg: #FFFFFF;
    --text: #334155;
    --light-text: #94A3B8;
    --dark-text: #1E293B;
    --border: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --radius: 0.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

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

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    display: block;
}

/* Layout */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header-container,
.section-container,
.hero-container,
.footer-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 1.25rem;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-text);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--secondary);
}

/* Header Styles */
.main-header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    width: 180px;
}

.logo-svg {
    width: 100%;
    height: auto;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

/* Hero Section */
.hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(to right, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: white;
}

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

.hero-text {
    flex: 1;
}

.hero-text h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 500px;
    color: var(--light-text);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.4);
    color: white;
}

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

.hero-graphic {
    width: 100%;
    max-width: 400px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--card-bg);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-visual {
    flex: 1;
}

.about-graphic {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
}

/* Generator Section */
.generator {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.generator h2,
.generator h3 {
    color: white;
}

.section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.generator-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.generator-button {
    display: inline-block;
    background-color: white;
    color: var(--primary);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.generator-button:hover {
    background-color: var(--dark-bg);
    color: white;
    transform: translateY(-2px);
}

.generator-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

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

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

.footer-logo {
    max-width: 150px;
}

.footer-logo-svg {
    width: 100%;
    height: auto;
}

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

.footer-nav h4,
.footer-legal h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-nav ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a,
.footer-legal a {
    color: var(--light-text);
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-visual {
        order: -1;
    }
    
    .generator-steps {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        gap: 1rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        width: 100%;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
