/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--soft-white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-white {
    background: var(--primary-white);
}

.section-light {
    background: var(--light-gray);
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Scroll reveal */
.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);
}

/* Buttons */
.cta-button {
    background: var(--accent-gradient);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 122, 255, 0.3);
}

.cta-secondary {
    background: white;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.cta-secondary:hover {
    background: var(--accent-blue);
    color: white;
}

.magnetic-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic-button:hover {
    transform: scale(1.05);
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .magnetic-button {
        transition: transform 0.2s ease;
    }

    .magnetic-button:hover {
        transform: scale(1.02);
    }

    .reveal {
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
}
