:root {
    /* --- APPLE "LIQUID GLASS" THEME --- */
    --bg-color: #ffffff;          /* Pure White */
    --card-bg: #ffffff;           /* Cards are white */
    --section-bg: #f5f5f7;        /* Light Gray for contrast sections */
    --accent-color: #0071e3;      /* Classic Apple Blue */
    --text-main: #1d1d1f;         /* Apple's "Almost Black" */
    --text-dim: #86868b;          /* Soft Gray text */
    --navbar-height: 70px;
    
    /* Soft Shadows for depth since we don't have dark borders anymore */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
}

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

/* --- NAVBAR (FROSTED GLASS) --- */
.navbar {
    position: sticky;
    top: 0;
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    backdrop-filter: blur(20px);           /* The Frost Effect */
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Very subtle border */
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100%;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-main); /* Dark text now */
    letter-spacing: -1px;
}
.logo span { color: var(--accent-color); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-item {
    height: 100%;
    display: flex; 
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
}

.nav-item:hover .nav-link { color: var(--accent-color); } /* Blue on hover */

.nav-cta {
    background: var(--text-main); /* Black button */
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
}

.nav-cta:hover {
    background: var(--accent-color);
    transform: scale(1.02);
}

/* --- MEGA MENU (CLEAN & WHITE) --- */
.mega-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 40px 0;
    box-shadow: var(--shadow-md);
    z-index: 999;

    visibility: hidden;
    opacity: 0;
    /* Snappy transition */
    transition: visibility 0s linear 0.1s, opacity 0.1s ease;
}

.nav-item:hover .mega-menu,
.mega-menu:hover {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

/* Arrow */
.arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--text-dim);
    transition: transform 0.2s;
}
.nav-item:hover .arrow { transform: rotate(180deg); border-top-color: var(--accent-color); }

/* Mega Menu Content */
.mega-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.mega-column h4 {
    color: var(--text-dim);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    margin-top: 0;
}

.mega-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.2s;
}
.mega-link:hover { background: #f5f5f7; }

.mega-link .icon { font-size: 24px; margin-right: 15px; }
.mega-link .text strong { display: block; color: var(--text-main); font-size: 15px; }
.mega-link .text p { margin: 0; color: var(--text-dim); font-size: 13px; }

/* Highlight Box (Light Gray) */
.highlight-box {
    background: #f5f5f7;
    padding: 20px;
    border-radius: 12px;
}
.highlight-box strong { color: var(--text-main); display: block; margin-bottom: 5px; }
.highlight-box p { color: var(--text-dim); font-size: 13px; margin-bottom: 15px; }
.highlight-box a { color: var(--accent-color); text-decoration: none; font-size: 13px; font-weight: 600; }

/* --- HERO SECTION (LIQUID GLASS EFFECT) --- */
.hero {
    /* UPDATED: Reduced height (was 140px) */
    padding: 80px 20px; 
    text-align: center;
    background-color: #ffffff;
    
    /* The "Liquid" Gradient */
    background-image: 
        radial-gradient(at 0% 0%, hsla(213, 89%, 85%, 1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(263, 85%, 90%, 1) 0px, transparent 50%),
        radial-gradient(at 50% 50%, #ffffff 0px, transparent 50%);
}

.hero h1 { 
    font-size: 4rem; 
    font-weight: 800; 
    margin-bottom: 20px; 
    color: var(--text-main);
    letter-spacing: -2px;
}

.hero p {
    color: var(--text-dim);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Gradient Text for emphasis */
.gradient-text {
    background: linear-gradient(90deg, #0071e3, #9b51e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- CARDS & GRID --- */
.app-grid {
    background: var(--section-bg); /* Light gray background for the grid section */
    /* UPDATED: Reduced top spacing (was 80px) */
    padding-top: 40px;
    padding-bottom: 80px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 40px; color: var(--text-main); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    /* Soft Apple-style Shadow instead of border */
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.card:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-lg); 
}

.card-image { height: 240px; background-size: cover; background-position: center; }
.card-content { padding: 30px; }

.tag { font-size: 11px; color: var(--accent-color); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.card h3 { margin: 10px 0; font-size: 1.5rem; color: var(--text-main); }
.card p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.6; }

.card-link { display: inline-block; margin-top: 20px; color: var(--accent-color); text-decoration: none; font-weight: 600; }
.card-link:hover { text-decoration: underline; }

footer { 
    text-align: center; 
    padding: 60px; 
    color: var(--text-dim); 
    font-size: 12px; 
    background: white; 
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* =========================================
   PRIVACY POLICY STYLES (NEW)
   ========================================= */

.privacy-section {
    background-color: var(--section-bg); /* Matches the app grid gray */
    padding: 100px 20px;
    min-height: 80vh; /* Ensures it fills most of the screen */
}

.privacy-container {
    max-width: 800px; /* Limits width for readability (Professional look) */
    margin: 0 auto;   /* CENTERS the container */
}

.privacy-header {
    text-align: center;
    margin-bottom: 50px;
}

.privacy-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-main);
    letter-spacing: -1px;
}

.privacy-header p {
    color: var(--text-dim);
    font-size: 1.2rem;
}

/* The Paper Card Effect */
.policy-content {
    background: white;
    padding: 60px;       /* Generous padding */
    border-radius: 24px; /* Smooth Apple-like corners */
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.policy-content h2 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee; /* Subtle separator line */
}

.policy-content h2:first-child { margin-top: 0; }

.policy-content h3 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 700;
}

.policy-content p, .policy-content li {
    font-size: 1.05rem; /* Slightly larger text for reading */
    color: #4a4a4a;     /* Darker gray for better readability than text-dim */
    line-height: 1.7;   /* Relaxed line height */
    margin-bottom: 15px;
}

.policy-content ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.policy-content li {
    margin-bottom: 8px;
}

.policy-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.policy-content a:hover {
    text-decoration: underline;
}

.last-updated {
    text-align: center;
    margin-top: 40px;
    color: var(--text-dim);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .policy-content {
        padding: 30px;
    }
    .privacy-header h1 {
        font-size: 2.2rem;
    }
}