@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&family=Questrial&display=swap');

:root {
    --apple-bg: #ffffff;
    --apple-text: #1d1d1f;
    --apple-gray: #f5f5f7;
    --apple-blue: #007aff;
    --trust-50: #f0fdfa;
    --trust-100: #ccfbf1;
    --trust-200: #99f6e4;
    --trust-300: #5eead4;
    --trust-400: #2dd4bf;
    --trust-500: #14b8a6;
    --trust-600: #0d9488;
    --trust-700: #0f766e;
    --trust-800: #115e59;
    --trust-900: #134e4a;
    --brand-dark: #020418;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--apple-text);
    background-color: var(--apple-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.font-display {
    font-family: 'Outfit', sans-serif;
}

.font-logo {
    font-family: 'Questrial', sans-serif;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, Apple/255, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.glass-dark {
    background: rgba(2, 4, 24, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--apple-gray);
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Modern Buttons */
.btn-apple {
    padding: 12px 24px;
    border-radius: 980px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-apple-primary {
    background: var(--apple-text);
    color: white;
}

.btn-apple-primary:hover {
    background: #333333;
    transform: scale(1.02);
}

.btn-apple-secondary {
    background: var(--apple-gray);
    color: var(--apple-text);
}

.btn-apple-secondary:hover {
    background: #e8e8ed;
}

.btn-apple-link {
    color: var(--apple-blue);
}

.btn-apple-link:hover {
    text-decoration: underline;
}

/* Micro-interactions */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Section Spacing */
.section-padding {
    padding-top: 120px;
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

/* Smooth gradients */
.bg-gradient-soft {
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--trust-600) 0%, var(--trust-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Module Illustration Container */
.module-illustration {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1/1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}