/* ============================================
   aura8 - Unified Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --primary: #3B82F6;
    --secondary: #10B981;
    --dark: #1E293B;
    --bg: #F8FAFC;
    --text: #334155;
    --gray: #64748B;
    --light-gray: #E2E8F0;
    --white: #ffffff;
}

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

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Common Typography */
h1 { 
    font-size: 3.5rem; 
    line-height: 1.1; 
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    margin-bottom: 20px;
    color: var(--text);
}

strong {
    color: var(--dark);
    font-weight: 700;
}

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

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

.highlight { 
    color: var(--primary);
}

/* Header */
header { 
    padding: 30px 20px; 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    background: var(--white);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

header h2 {
    font-weight: 700;
    color: var(--dark);
}

header a {
    text-decoration: none;
    color: inherit;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-link {
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    background: transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-link:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.lang-link.active {
    background: var(--primary);
    color: var(--white);
}

/* Footer */
footer { 
    padding: 60px 20px; 
    text-align: center; 
    background: var(--bg);
    border-top: 1px solid var(--light-gray);
}

footer > p {
    color: var(--gray);
}

footer a { 
    color: var(--text); 
    text-decoration: none; 
    margin: 0 20px; 
    font-size: 0.95rem; 
    opacity: 0.7;
    transition: all 0.3s ease;
}

footer a:hover { 
    opacity: 1; 
    color: var(--primary);
}

.footer-links {
    margin-top: 20px;
}

/* ============================================
   INDEX PAGE SPECIFIC STYLES
   ============================================ */

/* Hero Section */
.hero { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 50px; 
    padding: 80px 20px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.hero p {
    font-size: 1.3rem;
    margin: 20px 0 30px;
    max-width: 500px;
    color: var(--gray);
}

/* Phone Mockup */
.phone-mockup {
    width: 280px; 
    min-width: 280px; 
    height: 560px; 
    background: var(--white);
    border: 10px solid var(--dark);
    border-radius: 45px;
    position: relative; 
    overflow: hidden; 
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Slider */
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #eee;
}

.slider-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    visibility: hidden; 
}

.slider-container img.active {
    visibility: visible;
    z-index: 10;
}

.slider-container img.next {
    visibility: visible;
    z-index: 5;
}

/* Swipe Animations */
@keyframes swipeLeft {
    0% { transform: translateX(0) rotate(0); opacity: 1; }
    100% { transform: translateX(-150%) rotate(-20deg); opacity: 0; }
}

@keyframes swipeRight {
    0% { transform: translateX(0) rotate(0); opacity: 1; }
    100% { transform: translateX(150%) rotate(20deg); opacity: 0; }
}

.anim-swipe-left {
    animation: swipeLeft 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.anim-swipe-right {
    animation: swipeRight 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Buttons */
.btn { 
    padding: 16px 38px; 
    border-radius: 12px; 
    text-decoration: none; 
    font-weight: 700; 
    display: inline-block; 
    margin: 10px 8px; 
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.3px;
    color: var(--white);
}

.btn-apple { 
    background: var(--dark);
    box-shadow: 0 8px 20px rgba(30, 41, 59, 0.25);
}

.btn-google { 
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn:hover { 
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(30, 41, 59, 0.3);
}

/* Stats Bar */
.stats-bar {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 60px auto;
    max-width: 900px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.stats-bar h3 {
    color: var(--primary);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.stats-bar p {
    color: var(--gray);
}

.stats-info {
    font-size: 1.2rem;
    margin-top: 10px;
}

.stats-current {
    font-size: 0.95rem;
    color: #94A3B8;
}

.progress-container {
    width: 100%;
    max-width: 600px;
    height: 8px;
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    width: 12%;
    border-radius: 10px;
    animation: progress-grow 2s ease-out;
}

@keyframes progress-grow {
    from { width: 0%; }
    to { width: 12%; }
}

/* Features */
.features { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px; 
    max-width: 1200px; 
    margin: 60px auto; 
    padding: 0 20px; 
}

.feature-card { 
    background: var(--white); 
    padding: 40px; 
    border-radius: 20px; 
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Team Section */
.team-section { 
    background: var(--white);
    padding: 80px 20px; 
    text-align: center; 
    margin-top: 80px;
    border-top: 1px solid var(--light-gray);
}

.team-container { 
    max-width: 800px; 
    margin: 0 auto; 
}

.team-section h2 {
    margin-bottom: 20px;
    color: var(--dark);
}

.team-section > .team-container > p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

.team-link { 
    color: var(--primary);
    font-weight: 700; 
    text-decoration: none; 
    border-bottom: 2px solid var(--primary); 
    transition: opacity 0.3s; 
    font-size: 1.1rem;
    padding-bottom: 2px;
}

.team-link:hover { 
    opacity: 0.8;
}

/* ============================================
   PRIVACY PAGE SPECIFIC STYLES
   ============================================ */

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.content-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--light-gray);
}

.content-card h1 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.content-card h2 {
    margin-top: 40px;
    margin-bottom: 15px;
}

.last-updated {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.intro {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 40px;
    line-height: 1.8;
}

ul {
    margin: 15px 0 20px 0;
    padding-left: 0;
    list-style: none;
}

li {
    padding: 12px 0 12px 30px;
    position: relative;
    color: var(--text);
}

li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 8px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: var(--light-gray);
    color: var(--dark);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.back-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(-5px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Desktop - Index Page */
@media (min-width: 768px) {
    .hero { 
        flex-direction: row;
        justify-content: center;
        gap: 80px;
    }
    
    .hero-text {
        text-align: left;
    }
    
    h1 { 
        font-size: 4.5rem; 
    }
}

/* Tablet & Mobile */
@media (max-width: 768px) {
    .content-card h1 {
        font-size: 2rem;
    }

    .content-card h2 {
        font-size: 1.3rem;
        margin-top: 30px;
    }

    .content-card {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .container {
        margin: 20px auto;
        padding: 0 15px;
    }

    header {
        padding: 15px;
        flex-wrap: wrap;
        gap: 15px;
    }

    header h2 {
        font-size: 1.3rem;
    }

    .lang-switcher {
        width: 100%;
        justify-content: center;
        gap: 6px;
    }

    .lang-link {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .intro {
        font-size: 1rem;
    }

    li {
        padding-left: 25px;
    }

    footer a {
        display: block;
        margin: 10px 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .content-card h1 {
        font-size: 1.75rem;
    }

    .content-card h2 {
        font-size: 1.2rem;
    }

    .content-card {
        padding: 20px 15px;
    }
}
