/* Global Styles */
:root {
    --primary: #FF6B6B;
    --secondary: #4ECDC4;
    --dark: #1A1A2E;
    --light: #F7F7F7;
    --accent: #FC5185;
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

section {
    padding: 5rem 0;
}

/* Header Styles */
header {
    background-color: var(--dark);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

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

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    font-weight: 600;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav ul li a:hover:after {
    transform: scaleX(1);
}

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

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    position: absolute;
    transition: all 0.3s;
}

.menu-toggle span:first-child {
    top: 0;
}

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

.menu-toggle span:last-child {
    top: 20px;
}

/* Hero Section */
.hero {
    background: var(--dark);
    color: white;
    padding: 5rem 0;
    overflow: hidden;
    position: relative;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26,26,46,0.8) 0%, rgba(26,26,46,0.4) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-visual {
    flex: 1;
    min-width: 300px;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
}

.deepfake-preview {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.preview-svg {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow);
    border-radius: 10px;
}

.ai-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.scan-line {
    animation: scan 3s infinite linear;
}

@keyframes scan {
    0% {
        transform: translateY(-150px);
    }
    100% {
        transform: translateY(300px);
    }
}

/* Technology Section */
.technology {
    background-color: white;
}

.tech-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 3rem;
}

.tech-feature {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 1.5rem;
    margin: 1rem;
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.tech-feature:hover {
    transform: translateY(-10px);
}

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

.tech-svg {
    width: 100%;
    height: 100%;
}

.tech-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 3rem 0;
}

.stat {
    flex: 1;
    padding: 1rem;
}

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

.stat-label {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Celebrities Section */
.celebrities {
    background-color: var(--dark);
    color: white;
}

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

.celeb-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
}

.celeb-category {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    padding: 2rem;
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.celeb-category:hover {
    transform: scale(1.05);
    background-color: rgba(255,255,255,0.15);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.category-svg {
    width: 100%;
    height: 100%;
}

/* Gallery Section */
.gallery {
    background-color: white;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    width: 100%;
    max-width: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-svg {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26,26,46,0.8);
    padding: 1rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.view-btn {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary);
    color: white;
    border-radius: 20px;
    margin-top: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.view-btn:hover {
    background-color: var(--accent);
    color: white;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: white;
    text-align: center;
}

.cta-section h2:after {
    background-color: white;
}

.cta-text {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

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

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: none;
}

.cta-button:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    color: white;
}

.cta-button.large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,107,107,0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255,107,107,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255,107,107,0);
    }
}

.glow {
    position: relative;
    overflow: hidden;
}

.glow:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(30deg);
    animation: glow 3s infinite linear;
}

@keyframes glow {
    0% {
        transform: rotate(30deg) translateX(-100%);
    }
    100% {
        transform: rotate(30deg) translateX(100%);
    }
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
}

.footer-logo-svg {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.footer-column {
    flex: 1;
    min-width: 150px;
    margin-bottom: 2rem;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h3:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

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

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

.footer-column ul li a {
    color: rgba(255,255,255,0.8);
}

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

.copyright {
    width: 100%;
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-toggle {
        display: block;
        z-index: 101;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--dark);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 100;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 1.5rem 0;
    }
    
    .menu-toggle.active span:first-child {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:last-child {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-visual {
        width: 100%;
        text-align: center;
    }
    
    .tech-features, .celeb-categories, .gallery-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .tech-feature, .celeb-category, .gallery-item {
        width: 100%;
        max-width: 400px;
    }
    
    .tech-stats {
        flex-direction: column;
    }
    
    .stat {
        margin-bottom: 1.5rem;
    }
    
    footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo, .footer-column {
        width: 100%;
    }
    
    .footer-column h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
}
