/* Fonts - Cera Pro */
@font-face {
    font-family: 'Cera Pro';
    src: url('fonts/CeraPro-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cera Pro';
    src: url('fonts/CeraPro-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cera Pro';
    src: url('fonts/CeraPro-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Fonts - Geist */
@font-face {
    font-family: 'Geist';
    src: url('fonts/Geist-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geist';
    src: url('fonts/Geist-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Fonts - Geist Mono */
@font-face {
    font-family: 'Geist Mono';
    src: url('fonts/GeistMono-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geist Mono';
    src: url('fonts/GeistMono-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Base */
body {
    background-color: #ffffff;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-gradient {
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(45, 106, 79, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(194, 255, 233, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 60% 80%, rgba(64, 145, 108, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 10% 90%, rgba(194, 255, 233, 0.25) 0%, transparent 50%);
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    mix-blend-mode: normal;
}

.mesh-blob-1 {
    width: 500px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(194, 255, 233, 0.6) 0%, rgba(194, 255, 233, 0.2) 50%, transparent 70%);
    top: -150px;
    right: -100px;
    animation: smoke-drift-1 12s ease-in-out infinite;
}

.mesh-blob-2 {
    width: 400px;
    height: 350px;
    background: radial-gradient(ellipse at center, rgba(45, 106, 79, 0.25) 0%, rgba(45, 106, 79, 0.1) 50%, transparent 70%);
    bottom: -80px;
    left: -80px;
    animation: smoke-drift-2 15s ease-in-out infinite;
}

.mesh-blob-3 {
    width: 350px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(64, 145, 108, 0.2) 0%, rgba(64, 145, 108, 0.08) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: smoke-drift-3 18s ease-in-out infinite;
}

@keyframes smoke-drift-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
        filter: blur(100px);
    }
    25% {
        transform: translate(-20px, 15px) scale(1.05);
        opacity: 0.6;
        filter: blur(110px);
    }
    50% {
        transform: translate(10px, -10px) scale(0.95);
        opacity: 0.9;
        filter: blur(90px);
    }
    75% {
        transform: translate(-15px, -5px) scale(1.02);
        opacity: 0.7;
        filter: blur(105px);
    }
}

@keyframes smoke-drift-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
        filter: blur(100px);
    }
    33% {
        transform: translate(25px, -20px) scale(1.08);
        opacity: 0.5;
        filter: blur(120px);
    }
    66% {
        transform: translate(-10px, 15px) scale(0.92);
        opacity: 0.85;
        filter: blur(85px);
    }
}

@keyframes smoke-drift-3 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
        filter: blur(100px);
    }
    20% {
        transform: translate(-45%, -55%) scale(1.1);
        opacity: 0.4;
        filter: blur(115px);
    }
    40% {
        transform: translate(-55%, -48%) scale(0.9);
        opacity: 0.75;
        filter: blur(90px);
    }
    60% {
        transform: translate(-48%, -52%) scale(1.05);
        opacity: 0.5;
        filter: blur(110px);
    }
    80% {
        transform: translate(-52%, -47%) scale(0.95);
        opacity: 0.7;
        filter: blur(95px);
    }
}

.gradient-line {
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(45, 106, 79, 0.1) 10%,
        rgba(45, 106, 79, 0.6) 30%,
        #2D6A4F 50%,
        rgba(45, 106, 79, 0.6) 70%,
        rgba(45, 106, 79, 0.1) 90%,
        transparent 100%
    );
}

.hero-text {
    background: linear-gradient(135deg, #2D6A4F 0%, #40916C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.cta-button {
    background: #2D6A4F;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background: #40916C;
}

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

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* Bezos typing effect */
.bezos-typing {
    border-right: 2px solid #2D6A4F;
    padding-right: 2px;
    animation: blink-cursor 0.7s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% { border-color: #2D6A4F; }
    50% { border-color: transparent; }
}

/* Buzz effect - buzz pause buzz pattern */
.buzz {
    display: inline-block;
    font-style: italic;
    animation: buzz-pattern 2s ease-in-out infinite;
}

@keyframes buzz-pattern {
    /* First buzz */
    0%, 2% { transform: translate(0, 0); }
    2.5% { transform: translate(-1px, 1px); }
    3% { transform: translate(1px, -1px); }
    3.5% { transform: translate(-1px, 0); }
    4% { transform: translate(1px, 1px); }
    4.5% { transform: translate(-1px, -1px); }
    5% { transform: translate(1px, 0); }
    5.5% { transform: translate(0, 1px); }
    6% { transform: translate(-1px, -1px); }
    6.5% { transform: translate(1px, 1px); }
    7% { transform: translate(0, 0); }

    /* Pause */
    7%, 15% { transform: translate(0, 0); }

    /* Second buzz */
    15.5% { transform: translate(-1px, 1px); }
    16% { transform: translate(1px, -1px); }
    16.5% { transform: translate(-1px, 0); }
    17% { transform: translate(1px, 1px); }
    17.5% { transform: translate(-1px, -1px); }
    18% { transform: translate(1px, 0); }
    18.5% { transform: translate(0, 1px); }
    19% { transform: translate(-1px, -1px); }
    19.5% { transform: translate(1px, 1px); }
    20% { transform: translate(0, 0); }

    /* Long pause until loop */
    20%, 100% { transform: translate(0, 0); }
}

/* Blur reveal effect - smoke style */
.blur-reveal {
    filter: blur(3px);
    transition: filter 0.5s ease, color 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
    animation: smoke-effect 3s ease-in-out infinite;
    color: rgba(8, 28, 21, 0.4);
    display: inline-block;
    position: relative;
}

.blur-reveal::before {
    content: '';
    position: absolute;
    inset: -4px -8px;
    background: radial-gradient(ellipse at center, rgba(45, 106, 79, 0.08) 0%, transparent 70%);
    filter: blur(8px);
    animation: smoke-cloud 4s ease-in-out infinite;
    pointer-events: none;
}

.blur-reveal:hover {
    filter: blur(2px);
    opacity: 0.9;
}

.blur-reveal.revealed {
    filter: blur(0);
    animation: none;
    color: #2D6A4F;
    font-weight: 500;
    opacity: 1;
}

.blur-reveal.revealed::before {
    display: none;
}

@keyframes smoke-effect {
    0%, 100% {
        filter: blur(3px);
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    25% {
        filter: blur(3.5px);
        transform: translateY(-1px) scale(1.01);
        opacity: 0.6;
    }
    50% {
        filter: blur(4px);
        transform: translateY(0) scale(1);
        opacity: 0.75;
    }
    75% {
        filter: blur(3.5px);
        transform: translateY(1px) scale(0.99);
        opacity: 0.65;
    }
}

@keyframes smoke-cloud {
    0%, 100% {
        transform: scale(1) translateX(0);
        opacity: 0.5;
    }
    33% {
        transform: scale(1.1) translateX(2px);
        opacity: 0.3;
    }
    66% {
        transform: scale(0.95) translateX(-2px);
        opacity: 0.6;
    }
}