:root {
    --bg-main: #ffffff;
    --bg-alt: #f5f5f7;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --border-light: #e5e7eb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    letter-spacing: -0.015em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    letter-spacing: -0.04em;
    font-weight: 700;
}

.nav-blur {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.bento-card {
    background-color: var(--bg-alt);
    border-radius: 2rem;
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.apple-btn {
    background-color: var(--text-main);
    color: #fff !important;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.apple-btn:hover {
    background-color: #000;
    transform: scale(0.98);
}

.apple-btn-outline {
    background-color: transparent;
    color: var(--text-main) !important;
    border: 1.5px solid var(--text-main);
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.apple-btn-outline:hover {
    background-color: var(--text-main);
    color: #fff !important;
}

.image-container {
    background-color: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
}

.apple-icon {
    width: 32px;
    height: 32px;
    opacity: 0.8;
    filter: brightness(0);
}

.apple-icon-sm {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    filter: brightness(0);
}

.apple-icon-white {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

.apple-icon-check {
    width: 16px;
    height: 16px;
    filter: brightness(0);
}

.text-gradient {
    color: var(--text-main);
}

/* Futuristic Animations */
@keyframes scan {
    0% { transform: translate(-50%, -200%) scaleX(0.5); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, 200%) scaleX(1); opacity: 0; }
}
.animate-scan {
    animation: scan 4s linear infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}
.animate-float-slow {
    animation: float-slow 8s ease-in-out infinite;
}

@keyframes float-fast {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 15px); }
}
.animate-float-fast {
    animation: float-fast 6s ease-in-out infinite;
}

@keyframes expand-border {
    0% { scale: 0 1; opacity: 0; }
    100% { scale: 1 1; opacity: 1; }
}
.animate-expand-border {
    animation: expand-border 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}
