/* --- APPLE AESTHETIC RESET --- */
:root {
    --bg-color: #F5F5F7;          /* Apple Light Grey */
    --card-bg: #FFFFFF;           /* Pure White Cards */
    --text-primary: #1D1D1F;      /* Soft Black */
    --text-secondary: #86868B;    /* Muted Grey */
    
    /* Apple UI Colors */
    --accent-blue: #0071E3;
    
    /* Physics */
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.04);
    --shadow-hover: 0 12px 32px rgba(0,0,0,0.08);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding-bottom: 80px;
    -webkit-font-smoothing: antialiased;
}

/* --- HERO SECTION (The Glassy Header) --- */
.mac-hero {
    background: #FFFFFF;
    padding: 80px 20px 60px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 60px;
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 16px;
}

.mac-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 16px 0;
    color: var(--text-primary);
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.4rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* The Blue Pill Button */
.apple-btn-primary {
    display: inline-block;
    background: #0071E3;
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s var(--ease), background 0.2s;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.apple-btn-primary:hover {
    background: #0077ED;
    transform: scale(1.04);
}

.hero-quote {
    margin-top: 40px;
    font-size: 0.95rem;
    color: #86868B;
    line-height: 1.6;
}

.highlight {
    color: var(--text-primary);
    font-weight: 600;
}

/* --- MAIN GRID CONTAINER --- */
.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* --- BENTO GRID LAYOUT --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* --- APPLE STYLE CARD --- */
.bento-card {
    background: var(--card-bg);
    border-radius: 24px; /* Large iOS curves */
    padding: 32px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s var(--ease);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-hover);
}

/* Icon Box */
.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.bento-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.bento-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* --- HOVER ACCENTS (Subtle Color Text on Hover) --- */
.bento-card:hover h3 { transition: color 0.2s; }

/* Specific Hover Colors */
.c-cyan:hover h3 { color: #00C7BE; }
.c-orange:hover h3 { color: #FF9500; }
.c-purple:hover h3 { color: #AF52DE; }
.c-red:hover h3 { color: #FF3B30; }
.c-blue:hover h3 { color: #0071E3; }
.c-sky:hover h3 { color: #5AC8FA; }
.c-indigo:hover h3 { color: #5856D6; }
.c-green:hover h3 { color: #34C759; }
.c-teal:hover h3 { color: #30B0C7; }
.c-slate:hover h3 { color: #8E8E93; }
.c-gold:hover h3 { color: #FFD60A; }
.c-pink:hover h3 { color: #FF2D55; }

/* Responsive */
@media (max-width: 768px) {
    .mac-hero h1 { font-size: 2.5rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card { padding: 24px; align-items: center; text-align: center; }
}