/* PhotonBurst - Pixel Perfect Replica of NameGuessr Design */

:root {
    --gradient-start: rgb(85, 88, 218);
    --gradient-end: rgb(95, 209, 249);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --footer-bg: rgb(249, 250, 251);
}

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

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.brand-name {
    color: var(--white);
}

.brand-accent {
    color: var(--gradient-end);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--gradient-end) !important;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 12.3% 19.3%, var(--gradient-start), var(--gradient-end) 100.2%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.search-container {
    max-width: 500px;
    margin: 0 auto 4rem;
}

.input-group {
    margin-bottom: 0.5rem;
}

.search-input {
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.search-btn {
    background: var(--gradient-end);
    border: none;
    border-radius: 0 50px 50px 0;
    padding: 1rem 1.5rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--gradient-start);
    transform: translateY(-2px);
}

.search-note, .privacy-note {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.hero-illustration {
    position: relative;
    height: 200px;
    margin-top: 2rem;
}

.flag-card {
    position: absolute;
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.flag-card i {
    font-size: 2rem;
    color: var(--gradient-start);
}

.card-1 {
    left: 20%;
    top: 20px;
    background: #fbbf24;
    color: var(--white);
}

.card-1 i {
    color: var(--white);
}

.card-2 {
    right: 30%;
    top: 60px;
    background: #ef4444;
    color: var(--white);
}

.card-2 i {
    color: var(--white);
}

.card-3 {
    left: 50%;
    top: 100px;
    transform: translateX(-50%);
}

.flag-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Intro Section */
.intro-section {
    padding: 80px 0;
    background: var(--white);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.intro-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.ai-robot i {
    color: var(--gradient-start);
    opacity: 0.8;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: var(--white);
}

.person-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    position: relative;
}

.person-illustration i {
    color: var(--gradient-start);
    opacity: 0.8;
}

.phone-icon {
    position: absolute;
    bottom: 50px;
    right: 50px;
    background: var(--gradient-end);
    color: var(--white);
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.feature-item {
    margin-bottom: 2rem;
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.disclaimer {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--gradient-start);
    margin-top: 2rem;
}

.disclaimer em {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
.footer-section {
    background: var(--footer-bg);
    padding: 60px 0 40px;
    border-top: 1px solid #e5e7eb;
}

.footer-section h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.footer-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

.footer-links a {
    color: var(--gradient-start);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gradient-end);
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-illustration {
        height: 150px;
    }
    
    .flag-card {
        padding: 1rem;
    }
    
    .flag-card i {
        font-size: 1.5rem;
    }
    
    .feature-illustration,
    .person-illustration {
        height: 250px;
    }
    
    .ai-robot i,
    .person-illustration i {
        font-size: 3rem !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .search-input,
    .search-btn {
        padding: 0.8rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .intro-section,
    .features-section,
    .how-it-works-section {
        padding: 60px 0;
    }
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(85, 88, 218, 0.3);
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section > .container > .row > .col-lg-8 > * {
    animation: fadeInUp 0.8s ease-out;
}

.hero-section > .container > .row > .col-lg-8 > *:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-section > .container > .row > .col-lg-8 > *:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-section > .container > .row > .col-lg-8 > *:nth-child(4) {
    animation-delay: 0.6s;
}
