/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #1C1C1E;
    --card: #242426;
    --border: #2E2E31;
    --text: #EDEDED;
    --muted: #A5A5A7;
    --pink: #FF4FA3;
    --pink-hover: #FF6FB1;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(16px, 3vw, 32px);
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(28, 28, 30, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

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

.logo-img {
    height: 40px;
    width: auto;
}

.logo-mark {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--pink);
    border-radius: 50%;
    color: var(--bg);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
}

.logo-mark-visible {
    display: flex !important;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--pink);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media (min-width: 960px) {
    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-actions {
        justify-content: flex-start;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--pink);
    color: var(--bg);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--pink-hover);
    transform: translateY(-1px);
}

.btn-link {
    display: inline-block;
    color: var(--pink);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--pink-hover);
}

/* Section Styles */
section {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
}

/* Cards */
.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 79, 163, 0.15);
}

/* Results Section */
.results {
    background-color: var(--bg);
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--pink);
    margin-bottom: 0.75rem;
}

.stat-text {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

.disclaimer {
    text-align: center;
    color: var(--muted);
    font-size: 0.875rem;
    margin-top: 2rem;
    font-style: italic;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* Use Cases Section */
.use-cases {
    background-color: var(--bg);
}

.use-case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.use-case-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Collaborate Section */
.collaborate {
    background-color: var(--card);
    text-align: center;
}

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

.collaborate-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--text);
}

.collaborate-content p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background-color: var(--bg);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer p {
    color: var(--muted);
    font-size: 0.875rem;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.grid-6 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Features section: keep 2x2 grid even on desktop */
    .features .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-wrap: wrap;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        gap: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-link {
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .card {
        padding: 1.5rem;
    }
}
