/* Apple-inspired styles for The Bann Foundation */

:root {
    --pure-white: #ffffff;
    --off-white: #f5f5f7;
    --text-dark: #1d1d1f;
    --text-medium: #6e6e73;
    --text-light: #86868b;
    --primary-purple: #fe019a;
    --secondary-pink: #fe019a;
    --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--secondary-pink));
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.47059;
    letter-spacing: -0.022em;
}

/* Page Header - Apple Style */
.page-header {
    padding: 120px 0 60px;
    background: var(--pure-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.page-title {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.003em;
    line-height: 1.07;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: clamp(19px, 2vw, 24px);
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.381;
    letter-spacing: 0.011em;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.003em;
    line-height: 1.07;
}

.hero-subtitle {
    font-size: clamp(21px, 2.5vw, 28px);
    font-weight: 400;
    line-height: 1.381;
    letter-spacing: 0.011em;
    max-width: 800px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.white-bg {
    background-color: var(--pure-white);
}

.offwhite-bg {
    background-color: var(--off-white);
}

/* Feature Lists and Cards */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.rounded-image {
    border-radius: 20px;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.rounded-image:hover {
    transform: scale(1.02);
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title-large {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle-large {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text-medium);
    margin-bottom: 3rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* CTA Sections */
.cta-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.1;
}

.btn-light {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Section Transitions */
.section-transition {
    position: relative;
    height: 100px;
    margin-top: -50px;
    z-index: 3;
}

.section-transition.white-to-offwhite {
    background: linear-gradient(to bottom, var(--pure-white) 0%, var(--off-white) 100%);
}

.section-transition.offwhite-to-white {
    background: linear-gradient(to bottom, var(--off-white) 0%, var(--pure-white) 100%);
}

/* Content Sections - Apple Style */
.content-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.content-section.white-bg {
    background-color: var(--pure-white);
}

.content-section.offwhite-bg {
    background-color: var(--off-white);
}

/* Section Titles - Apple Style */
.section-title-large {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -0.003em;
    line-height: 1.08;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle-large {
    font-size: clamp(19px, 2vw, 24px);
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.381;
    letter-spacing: 0.011em;
    font-weight: 400;
    text-align: center;
}

/* Feature Grid - Apple Style */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 17px;
    color: var(--text-medium);
    line-height: 1.47;
}

/* Sticky Navigation */
.sticky-nav {
    position: sticky;
    top: 44px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 100;
    padding: 16px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sticky-nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 30px;
}

.sticky-nav-item a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sticky-nav-item a:hover,
.sticky-nav-item a.active {
    color: var(--primary-purple);
}

/* Parallax Scroll Effect */
.parallax-container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
    will-change: transform;
}

.parallax-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sticky-nav-list {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .parallax-container {
        height: 350px;
    }
}