/* Fonts: Space Grotesk, DM Sans, JetBrains Mono */
/* Color Palette */
:root {
    --teal: #2A9D8F;
    --teal-light: #5EEAD4;
    --cream: #FFF8E7;
    --navy-light: #061A2E;
    --gold: #F4C430;
    --light-gray: #F0F4F8;
    --navy: #0B1D3A;
    --navy-dark: #1B4965;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--navy);
    color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    position: relative;
    width: 100%;
}

/* Section Styles - Diagonal Layout */
.section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12vh 8vw;
    overflow: hidden;
}

.section-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

/* Section 1 - Hero */
.section-1 {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
    margin-bottom: 4vh;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-transform: lowercase;
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--teal-light);
    font-style: italic;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Section 2 - Philosophy */
.section-2 {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 92%);
    margin-top: -4vh;
    margin-bottom: 4vh;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--teal-light);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.section-text {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Section 3 - Numbers */
.section-3 {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%);
    margin-top: -4vh;
    margin-bottom: 4vh;
}

.numbers-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    align-items: center;
    justify-items: center;
}

.floating-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(244, 196, 48, 0.3);
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

/* Section 4 - Experience */
.section-4 {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 92%);
    margin-top: -4vh;
    margin-bottom: 4vh;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.experience-card {
    background: rgba(42, 157, 143, 0.1);
    border: 2px solid var(--teal);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.experience-card:hover {
    background: rgba(42, 157, 143, 0.2);
    transform: translateY(-8px);
    border-color: var(--teal-light);
}

.card-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.experience-card p {
    font-size: 1.1rem;
    color: var(--light-gray);
}

/* Section 5 - Closing */
.section-5 {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 100%);
    margin-top: -4vh;
}

.date-display {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(42, 157, 143, 0.1);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
}

.date-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(0.9rem, 1.5vw, 1.4rem);
    letter-spacing: 0.08em;
    color: var(--gold);
    font-weight: 400;
}

.footer-text {
    font-size: 1rem;
    color: var(--teal-light);
    margin-top: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Shape System */
.shape-group {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    left: var(--x);
    top: var(--y);
    opacity: 0.15;
}

.shape-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--teal-light), var(--teal));
    animation: drift 8s ease-in-out infinite;
}

.shape-circle-small {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, var(--gold), var(--teal-light));
    animation: drift 6s ease-in-out infinite;
}

.shape-rounded-rect {
    width: 240px;
    height: 150px;
    border-radius: 30% 70% 70% 30% / 60% 40% 60% 40%;
    background: radial-gradient(ellipse at 35% 45%, var(--gold), var(--teal));
    animation: drift 10s ease-in-out infinite reverse;
}

.shape-blob {
    width: 280px;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: radial-gradient(ellipse at 25% 50%, var(--teal-light), var(--navy-light));
    animation: drift 12s ease-in-out infinite;
}

.shape-blob-organic {
    width: 250px;
    height: 220px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: radial-gradient(ellipse at 50% 30%, var(--teal), var(--gold));
    animation: drift 9s ease-in-out infinite;
}

.shape-polygon {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--teal-light), var(--gold));
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: rotate 20s linear infinite;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes drift {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -20px);
    }
    50% {
        transform: translate(0, 30px);
    }
    75% {
        transform: translate(-20px, -10px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 10vh 5vw;
    }

    .numbers-display {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .section-title {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }

    .shape {
        width: 150px !important;
        height: 150px !important;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 8vh 4vw;
        min-height: 80vh;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .section-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }

    .floating-number {
        font-size: clamp(2rem, 6vw, 3rem);
    }
}
