/* Strings: Word Search & Learn - Modern Vibrant Dark Theme */

:root {
    /* Color Palette derived from Strings Logo */
    --bg-dark: #090d16;
    --card-bg: #111827;
    --card-bg-elevated: #1f2937;
    --card-border: #374151;
    --card-border-glow: #2563eb;
    
    /* Vibrant Accent Colors */
    --tile-blue-primary: #2563eb;
    --tile-blue-bright: #3b82f6;
    --tile-blue-glow: rgba(37, 99, 235, 0.35);
    
    --string-cyan-accent: #06b6d4;
    --string-cyan-bright: #38bdf8;
    --string-cyan-glow: rgba(6, 182, 212, 0.3);
    
    --gold-accent: #f59e0b;
    --gold-bright: #fbbf24;
    --gold-glow: rgba(245, 158, 11, 0.3);

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* Geometry & Effects */
    --container-max: 960px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    
    --shadow-main: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 99, 235, 0.12);
    --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.15);
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    /* Modern glowing string & tile gradient background */
    background-image:
        radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 100% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 0% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #090d16 0%, #0d1322 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: var(--radius-sm);
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--tile-blue-bright);
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    padding: 70px 0 35px;
    text-align: center;
}

.hero-logo {
    width: 115px;
    height: 115px;
    margin: 0 auto 24px;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid var(--tile-blue-bright);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 24px var(--tile-blue-glow);
    background: #0f172a;
    position: relative;
    transition: var(--transition-smooth);
}

.hero-logo:hover {
    transform: scale(1.03);
    border-color: var(--string-cyan-bright);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 32px var(--string-cyan-glow);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero h1 {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.6rem, 6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 30%, var(--string-cyan-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.badge-container {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(30, 41, 59, 0.8);
    color: var(--string-cyan-bright);
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: 1px solid rgba(6, 182, 212, 0.3);
    line-height: 1;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.badge-update {
    background: linear-gradient(135deg, var(--tile-blue-primary) 0%, #1d4ed8 100%);
    color: #ffffff;
    border: 1px solid var(--tile-blue-bright);
    box-shadow: 0 4px 16px var(--tile-blue-glow);
}

/* Privacy Policy Card */
.policy-card {
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 50px 55px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-main);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.policy-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tile-blue-primary), var(--string-cyan-bright), var(--gold-bright));
}

/* Headings */
.policy-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 44px 0 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
    border-bottom: 2px solid rgba(37, 99, 235, 0.3);
    padding-bottom: 10px;
    width: fit-content;
}

.policy-card h2:first-of-type {
    margin-top: 0;
}

.policy-card p {
    color: var(--text-secondary);
    margin-bottom: 22px;
    font-size: 1.03rem;
}

.policy-card p strong {
    color: var(--text-primary);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-left: 4px solid var(--gold-bright);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    margin: 32px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.highlight-box p {
    margin-bottom: 0;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.02rem;
}

.highlight-box p strong {
    color: var(--gold-bright);
}

/* Lists */
.policy-card ul {
    list-style: none;
    margin-bottom: 32px;
}

.policy-card li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 1.02rem;
}

.policy-card li::before {
    content: "✦";
    position: absolute;
    left: 4px;
    color: var(--string-cyan-bright);
    font-size: 1rem;
    line-height: 1.7;
    text-shadow: 0 0 8px var(--string-cyan-glow);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 44px 0;
}

.feature-item {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid var(--card-border);
    padding: 28px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.feature-item:hover {
    border-color: var(--tile-blue-bright);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px var(--tile-blue-glow);
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.15) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tile-blue-primary) 0%, #1d4ed8 100%);
    border: 1px solid var(--string-cyan-bright);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px var(--tile-blue-glow);
}

.feature-item h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.feature-item p {
    font-size: 0.96rem;
    margin-bottom: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.accent-text {
    color: var(--string-cyan-bright);
}

/* Footer Styling */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 0;
    background-color: #060911;
    text-align: center;
    position: relative;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--tile-blue-bright);
}

.footer-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .policy-card {
        padding: 30px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 50px 0 25px;
    }

    .badge-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-logo {
        width: 95px;
        height: 95px;
    }
}
