/* 
   meta-ai.site Stylesheet
   Modern, purple/pink gradient design with dark theme
*/

/* Root Variables and Reset */
:root {
    --primary: #6D28D9;
    --secondary: #EC4899;
    --dark: #0D0D0D;
    --darker: #050505;
    --medium: #1F1F1F;
    --light: #F9FAFB;
    --gray: #9CA3AF;
    --gradient: linear-gradient(135deg, #6D28D9 0%, #EC4899 100%);
    --radius: 8px;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

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

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

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

ul {
    list-style: none;
}

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

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

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header p {
    font-size: 1.1rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(109, 40, 217, 0.6);
}

.btn-accent {
    background: var(--light);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(249, 250, 251, 0.15);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249, 250, 251, 0.25);
    background: white;
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
}

/* Navigation Bar */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.nav-menu a {
    position: relative;
    font-weight: 500;
    font-size: 1rem;
}

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

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

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

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

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

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

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

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

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

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

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

.hero::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    filter: blur(150px);
    opacity: 0.15;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.hero-visual {
    flex: 1;
    max-width: 500px;
}

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

.hero-badges {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-number {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.badge-text {
    font-size: 0.9rem;
    color: var(--gray);
}

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

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

.feature-card {
    background: var(--medium);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Benefits Section */
.benefits {
    background-color: var(--darker);
}

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

.benefit-content {
    flex: 1;
}

.benefit-visual {
    flex: 1;
}

.benefit-visual svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    flex-shrink: 0;
}

.benefit-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--dark);
    position: relative;
}

.process {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.process-step {
    flex: 1;
    max-width: 250px;
    text-align: center;
    background-color: var(--medium);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.process-step p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.process-arrow {
    width: 40px;
    display: flex;
    align-items: center;
}

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

/* Gallery Section */
.gallery {
    background-color: var(--darker);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item svg {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: rgba(255,255,255,0.05);
    transform: rotate(30deg);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

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

/* Footer Styles */
footer {
    background-color: var(--darker);
    padding: 5rem 0 2rem;
    position: relative;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-brand-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.7;
}

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

.footer-links-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

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

.footer-links-column a {
    color: var(--gray);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

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

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* Pulse Animation for Hero */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 3s infinite;
}

.delay-1 {
    animation-delay: 1.5s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .benefits-container {
        flex-direction: column;
    }
    
    .benefit-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .process {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-step {
        max-width: 100%;
        width: 100%;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero {
        padding-top: 8rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-content p {
        margin: 0 auto 2.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background-color: var(--dark);
        width: 100%;
        height: calc(100vh - 80px);
        padding: 2rem;
        transition: var(--transition);
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .footer-logo {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .hero-badges {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .badge {
        flex: 1;
        min-width: 120px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
