/* Import Satoshi font */
@import url('satoshi.css');

/* ============================================
   BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================
   VIEWPORT SECTIONS
   ============================================ */

.viewport-section {
    min-height: 100vh;
    min-height: 100svh; /* Small viewport height for mobile */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: start;
    padding: 3rem 1.5rem;
}

@supports not (min-height: 100svh) {
    .viewport-section {
        min-height: 100vh;
    }
}

/* ============================================
   TYPOGRAPHY SCALES
   ============================================ */

/* Hero headline - up-pop size, down-pop weight */
.headline-hero {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 1rem;
}

/* Section titles - balanced */
.headline-section {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 4rem;
}

/* Labels - down-pop size, up-pop weight */
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
}

/* Subheadlines */
.subheadline {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.4;
    opacity: 0.8;
    text-align: center;
    margin-bottom: 3rem;
}

/* Body text */
.body-text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.85;
}

.body-small {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.7;
}

/* ============================================
   NAVIGATION
   ============================================ */

/* Top navigation - minimal text */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 2rem 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.top-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}

.top-nav a:hover {
    opacity: 1;
}

/* Dot navigation */
.dot-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dot-nav a {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid currentColor;
    opacity: 0.3;
    transition: all 0.3s ease;
    background: transparent;
}

.dot-nav a.active,
.dot-nav a:hover {
    opacity: 1;
    background: currentColor;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 3rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    opacity: 1;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 3rem;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

/* ============================================
   CARDS & CONTAINERS
   ============================================ */

.service-card {
    text-align: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 2px solid;
    border-radius: 50%;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.875rem;
    opacity: 0.7;
    line-height: 1.4;
}

.team-member {
    text-align: center;
}

.member-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #FF9933 0%, #FF6B6B 100%);
    color: white;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.member-role {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.member-bio {
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0.7;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
    animation: bounce 2s infinite;
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* ============================================
   BACKGROUND PATTERN
   ============================================ */

.bg-pattern {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    height: auto;
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
}

.bg-pattern img {
    width: 100%;
    height: auto;
}

/* Dark mode background */
@media (prefers-color-scheme: dark) {
    .bg-pattern {
        opacity: 0.05;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer-info {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.5;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .dot-nav {
        display: none;
    }
    
    .top-nav {
        padding: 1.5rem 1.5rem;
    }
    
    .top-nav ul {
        gap: 1.5rem;
    }
    
    .top-nav a {
        font-size: 0.85rem;
    }
    
    .service-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .viewport-section {
        padding: 2rem 1rem;
    }
    
    .headline-hero {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .headline-section {
        font-size: 1.25rem;
        margin-bottom: 3rem;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .member-name {
        font-size: 1.25rem;
    }
    
    .bg-pattern {
        left: -30%;
        width: 60%;
        opacity: 0.02;
    }
}

/* ============================================
   DARK MODE
   ============================================ */

@media (prefers-color-scheme: dark) {
    body {
        background: #0a0a0a;
        color: #f5f5f5;
    }
    
    .member-avatar {
        background: linear-gradient(135deg, #FF9933 0%, #FF7755 100%);
    }
}