/* Global Styles */
:root {
    --primary-color: #2196F3;
    --secondary-color: #4CAF50;
    --light-color: #E8F5E9;
    --dark-color: #1565C0;
    --text-color: #333;
    --light-text: #fff;
    --background-color: #fafafa;
    --accent-color: #B2DFDB;
    --border-radius: 10px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

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

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

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

h1 {
    font-size: 2.8rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

section {
    padding: 5rem 0;
}

/* Header Styles */
header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.logo-container {
    flex: 0 0 auto;
}

.logo {
    max-width: 200px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

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

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

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

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--light-text);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(76, 175, 80, 0.1), transparent 60%),
               radial-gradient(circle at bottom left, rgba(33, 150, 243, 0.1), transparent 60%);
    z-index: 0;
}

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

.hero-content {
    flex: 1 1 500px;
    padding-right: 2rem;
}

.hero-image {
    flex: 0 1 400px;
    text-align: center;
    position: relative;
}

.hero-image .faces-swap {
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    transition: transform 0.5s ease;
}

.hero-image .faces-swap:hover {
    transform: scale(1.05);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text) !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transition: all 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
    transform: translateY(-3px);
}

.cta-button:hover::before {
    left: 0;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(33, 150, 243, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    }
}

/* Features Section */
.features {
    background-color: #fff;
}

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

.feature-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

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

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3.5rem;
    position: relative;
    z-index: 1;
}

.step-item {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Examples Section */
.examples {
    background-color: #fff;
}

.example-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.example-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.example-visual {
    flex: 1 1 400px;
    text-align: center;
}

.example-text {
    flex: 1 1 400px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-text);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-section h2 {
    color: var(--light-text);
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button {
    background: white;
    color: var(--primary-color) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color) !important;
}

.cta-section .cta-button::before {
    display: none;
}

/* Footer */
footer {
    background-color: #263238;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-column {
    flex: 1 1 250px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 1.3rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

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

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

.footer-column ul li a {
    color: #B0BEC5;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-logo {
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #90A4AE;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero {
        min-height: 60vh;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 1rem 15px;
    }
    .logo-container {
        margin-bottom: 1rem;
    }
    nav ul {
        justify-content: center;
    }
    nav ul li {
        margin: 0 1rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    nav ul li {
        margin: 0 0.7rem;
    }
    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
    .feature-card, .step-item {
        padding: 1.5rem;
    }
}
