/* ============================================
   WasteUp — Waste Intelligence for the Factory Floor
   Brand Palette:
     --forest:  #293A2F  (deep, grounded, premium)
     --gold:    #EABF3E  (rare, valuable, the unlock)
     --cream:   #FCF8EE  (calm, refined, considered)
   ============================================ */

:root {
    --forest: #293A2F;
    --forest-soft: #3a4d40;
    --forest-deep: #1d2a23;
    --gold: #EABF3E;
    --gold-soft: #f0d175;
    --cream: #FCF8EE;
    --cream-shadow: #f4ecd8;
    --ink: #1a1a1a;
    --whisper: rgba(41, 58, 47, 0.08);

    --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --max-width: 1200px;
    --gutter: clamp(1.5rem, 4vw, 3rem);

    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--sans);
    background-color: var(--cream);
    color: var(--forest);
    line-height: 1.6;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem var(--gutter);
    background: rgba(252, 248, 238, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--whisper);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--serif);
    font-weight: 600;
    color: var(--forest);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--forest);
    color: var(--gold);
    border-radius: 50%;
    font-size: 1.1rem;
    font-style: italic;
    letter-spacing: -0.02em;
}

.logo-text {
    font-size: 1.5rem;
    letter-spacing: 0.01em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--forest);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition-quick);
}

/* Language switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    padding-left: 1.5rem;
    border-left: 1px solid var(--whisper);
}

.lang-switch a {
    color: var(--forest);
    opacity: 0.4;
    padding: 0.2rem 0.15rem;
    position: relative;
    transition: opacity var(--transition-quick), color var(--transition-quick);
}

.lang-switch a:hover {
    opacity: 0.85;
}

.lang-switch a.lang-active {
    opacity: 1;
    color: var(--forest);
}

.lang-switch a.lang-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: var(--gold);
}

.lang-divider {
    color: var(--forest);
    opacity: 0.3;
    font-weight: 300;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition-slow);
}

.nav-links a:hover {
    color: var(--forest-deep);
}

.nav-links a:hover::after {
    width: 100%;
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .lang-switch {
        padding-left: 0;
        border-left: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem var(--gutter) 6rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top right, rgba(234, 191, 62, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(41, 58, 47, 0.04) 0%, transparent 60%),
        var(--cream);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 960px;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    color: var(--forest);
    opacity: 0.7;
    animation: fadeUp 1s ease 0.1s both;
}

.eyebrow-line {
    display: inline-block;
    width: 36px;
    height: 1px;
    background: var(--forest);
    opacity: 0.4;
}

.eyebrow-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 500;
}

.hero-heading {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.5rem, 6.5vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--forest);
    margin-bottom: 2rem;
    animation: fadeUp 1.1s ease 0.25s both;
}

.hero-heading em {
    font-style: italic;
    color: var(--forest);
    position: relative;
    display: inline-block;
}

.hero-heading em::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.12em;
    background: var(--gold);
    opacity: 0.55;
    z-index: -1;
}

.hero-tagline {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--forest-soft);
    margin-bottom: 3rem;
    letter-spacing: 0.01em;
    animation: fadeUp 1.1s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 1.1s ease 0.55s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--forest);
    color: var(--cream);
    border-color: var(--forest);
}

.btn-primary:hover {
    background: var(--forest-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(41, 58, 47, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--forest);
    border-color: var(--forest);
}

.btn-secondary:hover {
    background: var(--forest);
    color: var(--gold);
}

.hero-decoration {
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(234, 191, 62, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

/* ============================================
   SHARED SECTION ELEMENTS
   ============================================ */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem var(--gutter);
}

.section-header {
    margin-bottom: 5rem;
    max-width: 760px;
}

.section-header-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--forest-soft);
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    position: relative;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.section-header-center .section-label {
    padding-left: 0;
    padding-top: 0;
}

.section-header-center .section-label::before { display: none; }

.section-heading {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--forest);
}

.section-subtitle {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--forest-soft);
    margin-top: 1.25rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   THREE CARDS
   ============================================ */
.cards-section {
    background: var(--cream);
    position: relative;
}

.cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--gold));
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    position: relative;
    padding: 3rem 2.5rem;
    background: var(--cream);
    border: 1px solid var(--whisper);
    transition: all var(--transition-slow);
    overflow: hidden;
    cursor: default;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.card:hover {
    background: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -20px rgba(41, 58, 47, 0.18);
    border-color: transparent;
}

.card:hover::before {
    transform: scaleX(1);
}

.card-number {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.875rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--forest);
    margin-bottom: 2rem;
    transition: color var(--transition-quick), transform var(--transition-slow);
}

.card:hover .card-icon {
    color: var(--gold);
    transform: rotate(-6deg);
}

.card-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.875rem;
    color: var(--forest);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.card-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--forest-soft);
}

.card-body strong {
    color: var(--forest);
    font-weight: 600;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-list li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 1rem;
    color: var(--forest-soft);
    line-height: 1.5;
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 12px;
    height: 1px;
    background: var(--gold);
}

/* ============================================
   PITCH DECK
   ============================================ */
.deck-section {
    background: var(--forest);
    color: var(--cream);
    position: relative;
}

.deck-section .section-label {
    color: var(--gold);
}

.deck-section .section-label::before {
    background: var(--gold);
}

.deck-section .section-heading {
    color: var(--cream);
}

.deck-section .section-subtitle {
    color: rgba(252, 248, 238, 0.7);
}

.deck-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--forest-deep);
    border: 1px solid rgba(234, 191, 62, 0.25);
    box-shadow:
        0 30px 80px -20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(234, 191, 62, 0.1);
    overflow: hidden;
}

.deck-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(234, 191, 62, 0.04), transparent);
    pointer-events: none;
    z-index: 1;
}

.deck-frame iframe,
.deck-frame object,
.deck-frame embed {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.deck-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    text-align: center;
    color: var(--cream);
    background: var(--forest-deep);
}

.deck-fallback p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.125rem;
    color: rgba(252, 248, 238, 0.75);
    max-width: 400px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.contact-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.section-label-light {
    padding-left: 0;
}

.section-label-light::before {
    display: none;
}

.contact-heading {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--forest);
    margin-bottom: 1.5rem;
}

.contact-subtitle {
    font-size: 1.0625rem;
    color: var(--forest-soft);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 2.25rem;
    background: var(--forest);
    color: var(--cream);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--forest);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.linkedin-btn svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    transition: transform var(--transition-quick);
}

.linkedin-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    z-index: 0;
}

.linkedin-btn span,
.linkedin-btn svg {
    position: relative;
    z-index: 1;
}

.linkedin-btn:hover {
    color: var(--forest);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(234, 191, 62, 0.3);
}

.linkedin-btn:hover svg {
    color: var(--forest);
    transform: scale(1.1);
}

.linkedin-btn:hover::after {
    transform: translateY(0);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--forest-deep);
    color: var(--cream);
    padding: 2.5rem var(--gutter);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.01em;
}

.footer-tag {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.9375rem;
    color: rgba(252, 248, 238, 0.6);
}

.footer-right {
    font-size: 0.8125rem;
    color: rgba(252, 248, 238, 0.5);
    letter-spacing: 0.02em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .section-container { padding: 4.5rem var(--gutter); }
    .section-header { margin-bottom: 3rem; }
    .card { padding: 2.25rem 1.75rem; }
    .hero-cta { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
    .btn { width: 100%; }
    .footer-container { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
