/* ================================
   BASE STRUCTURE STYLES
   Sticky scroll layers foundation
   ================================ */

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

/* CSS Variables - Green Glass Design System */
:root {
    /* OLED + LCD Safe Colors */
    --charcoal: #14171aac;   /* card base - no pure black */
    --lime-base: #10ac84;  /* fixed background */
    --primary-green: #80EF80;
    --dark-green: #173317;
    --teal-button: #1dd1a1;
    --teal-hover: #10ac84;
    --light-grey: #6B7280;
    --off-white: #e6f4ef;  /* soft off-white for text on glass */
    --white: #FFFFFF;
    --gradient-green: linear-gradient(135deg, #80EF80 0%, #66CC66 100%);
    --gradient-teal: linear-gradient(135deg, #1dd1a1 0%, #10ac84 100%);

    /* Scroll-responsive variable */
    --scroll: 0;

    /* Legacy mappings for compatibility */
    --gray-solid: #14171a;
    --text-dark: #14171a;
    --text-light: #e6f4ef;
}

body, html {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #4a4949;
    min-height: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Headings use Poppins */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* LIME ENERGY LAYERS */
.lime-layer {
position: fixed;
inset: 0;
z-index: 0;

background:
repeating-linear-gradient(135deg, rgba(160,255,90,0.07), rgba(160,255,90,0.07) 1px, transparent 1px, transparent 8px),
linear-gradient(to bottom, rgba(120,200,120,0.06), rgba(24, 24, 24, 0.2)),
var(--charcoal);

transform: translateY(calc(var(--scroll) * 6px));
}

.lime-layer::after {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0.65) 100%);
}

.lime-layer::before {
content: "";
position: absolute;
inset: -50%;
background: linear-gradient(120deg, transparent 45%, rgba(180,255,120,0.08) 50%, transparent 55%);
animation: limeSheen 18s linear infinite;
}

@keyframes limeSheen {
from { transform: translateX(-30%) translateY(-30%); }
to { transform: translateX(30%) translateY(30%); }
}

/* NAVIGATION BAR */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.77);
    padding: 15px 0;
    z-index: 1000;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--off-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--off-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links a:hover {
    color: var(--primary-green);
    transform: translateY(-1px);
    text-shadow: 0 3px 8px rgba(128, 239, 128, 0.4);
}

.cta-btn-small {
    background: linear-gradient(135deg, #80EF80, #10ac84);
    color: #0b1a14;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.cta-btn-small:hover {
    transform: translateY(-2px);
    color: #0b1a14 !important;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(21, 0, 0, 0.831);
    text-shadow: none !important;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--charcoal);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        display: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .logo-img {
        height: 35px;
    }
}

/* Container for the entire scroll effect */
.scroll-container {
    position: relative;
}

/* Sticky background layers - these stay fixed */
.sticky-layer {
    position: sticky;
    top: 0;
    height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    padding: 0px;
    
}

/* Hero section text */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-top: 120px;
    margin-bottom: 24px;
    line-height: 1.1;
    max-width: 900px;
    text-shadow: 
    1px 1px 2px rgba(0, 0, 0, 0.7),   /* dark base shadow */
    -1px -1px 2px rgba(3, 102, 102, 1);  /* subtle teal highlight (adjust to your exact teal) */  
    color: #036666;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.5);  /* Thin black stroke */
     text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);      /* Optional soft blur for smoothness */
}

.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #e6f4ef;
    opacity: 0.9;
    max-width: 700px;
    margin: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .btn {
    pointer-events: auto;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
}

/* Buttons - Authority Elements (solid, confident, readable on glass) */
.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #80EF80, #10ac84);
    color: #0b1a14;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(16, 16, 16, 0.841);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.btn-secondary {
    background: rgba(29, 209, 161, 0.15);
    color: #80EF80;
    border: 2px solid rgba(29, 209, 161, 0.5);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(29, 209, 161, 0.25);
    border-color: #80EF80;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(29, 209, 161, 0.3);
}

/* Sticky Background Layers - Charcoal base with lime energy effects */
.sticky-layer {
    background:transparent;
}

/* Layer 2 and 3 content width constraints */
.layer-2 > *,
.layer-3 > * {
    max-width: 700px;
}

/* CTA Section Styling */
.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-top: 160px;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 700px;
    color: #036666;
}

.cta-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 600px;
    opacity: 0.95;
    color: rgba(205, 220, 215, 0.82);
}

.cta-bridge-intro {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    margin-bottom: 20px;
    max-width: 600px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.6);
    -webkit-text-stroke: 0.3px rgba(255,255,255,0.15);
    color: #036666;
}

.pain-points {
    list-style: none;
    margin: 0 auto 30px;
    max-width: 600px;
    text-align: left;
}

.pain-points li {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    padding: 12px 0 12px 30px;
    position: relative;
    color: rgba(205, 220, 215, 0.82);
}

.pain-points li:before {
    content: "×";
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    color: var(--light-grey);
    font-weight: bold;
}

.cta-bridge-closing {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin: 30px auto 20px;
    max-width: 600px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.6);
    -webkit-text-stroke: 0.3px rgba(255,255,255,0.15);
    color: #036666;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-buttons .btn {
    pointer-events: auto;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
}

/* Management Section Styling */
.contact-note {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    margin-bottom: 50px;
    max-width: 600px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.6);
    -webkit-text-stroke: 0.3px rgba(255,255,255,0.15);
    color: #036666;
}

.contact-options {
    display: flex;
    gap: 20px;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
    color: #0b1a14;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    pointer-events: auto;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.contact-subtext {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 600px;
    opacity: 0.95;
    color: rgba(205, 220, 215, 0.82);
}

/* Scrolling content that overlays the sticky layers */
.scroll-content {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

/* Content sections with solid backgrounds */
.content-section {
    background: #1a1a2e;
    padding: 100px 40px;
    margin: 0 auto;
    width: 90%;
    max-width: 1400px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    min-height: 180vh;
    pointer-events: auto;
}

/* Footer stays full width and matches nav styling */
.content-section[style*="position: sticky"] {
    width: 100%;
    max-width: none;
    border-radius: 0;
    margin: 0;
    background: var(--charcoal);
    padding: 40px 20px;
    min-height: auto;
    box-shadow:
        0 -4px 12px rgba(0, 0, 0, 0.6),
        0 -2px 4px rgba(0, 0, 0, 0.4);
}

.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.6);
    -webkit-text-stroke: 0.3px rgba(255,255,255,0.15);
    color: #036666;
    font-weight: 600;
    text-align: center;
}

.content-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(205, 220, 215, 0.82);
    text-align: center;
    opacity: 0.85;
}

/* PROBLEM/SOLUTION Section - Charcoal Card Foundation with Green Glass Overlay */
.problem-solution-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    cursor: pointer;
    /* Solid charcoal base - from markdown guide section 3 */
    background: var(--charcoal);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 8px 20px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    backface-visibility: hidden;
    pointer-events: auto;
}

/* Enhanced Green Glass Overlay for entire section - from markdown guide section 4 */
.problem-solution-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    /* Layered gradient for depth */
    background: linear-gradient(135deg, rgba(120, 220, 140, 0.16), rgba(120, 220, 140, 0.05));
    background-blend-mode: overlay;

    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);

    border-radius: inherit;
    pointer-events: none;

    /* Inner glow to suggest thickness */
    box-shadow: inset 0 0 12px rgba(200, 255, 180, 0.08);
}

/* Ensure all content is above the glass overlay */
.problem-solution-section > * {
    position: relative;
    z-index: 1;
}

/* Section-wide Card Shine Effect */
.problem-solution-section .section-card-shine {
    border-radius: inherit;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}



.problem-solution-section .section-card-shine::before {
    content: '';
    width: 150%;
    padding-bottom: 150%;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    bottom: 55%;
    filter: blur(35px);
    opacity: 0.1;
    transform: translateX(-50%);
    background-image: conic-gradient(
        from 205deg at 50% 50%,
        rgba(120, 220, 140, 0) 0deg,
        #1dd1a1 25deg,
        rgba(52, 211, 153, 0.18) 295deg,
        rgba(120, 220, 140, 0) 360deg
    );
}

/* Mirrored shine for bottom-right diagonal */
.problem-solution-section .section-card-shine::after {
    content: '';
    width: 150%;
    padding-bottom: 150%;
    border-radius: 50%;
    position: absolute;
    right: 50%;
    top: 55%;
    filter: blur(35px);
    opacity: 0.1;
    transform: translateX(50%);
    background-image: conic-gradient(
        from 25deg at 50% 50%,
        rgba(120, 220, 140, 0) 0deg,
        #1dd1a1 25deg,
        rgba(52, 211, 153, 0.18) 295deg,
        rgba(120, 220, 140, 0) 360deg
    );
}

/* Section-wide Card Background Animation */

/* Hover State for entire section */
.problem-solution-section:hover {
    box-shadow:
        0px 5px 10px rgba(0, 0, 0, 0.04),
        0px 15px 25px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(120, 220, 160, 0.2);
}

.problem-solution-section:hover .section-card-shine {
    opacity: 1;
}

.problem-solution-section:hover .section-card-tiles {
    opacity: 1;
    transition-delay: 0.25s;
}

.problem-solution-section:hover .section-tile {
    animation-name: tile;
}

.glass-scroll-layer {
  position: relative;
}

.glass-etch {
  position: absolute;
  top: -75px; /* lets it overlap the hero edge */
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;

  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  text-align: center;
  color: transparent;

  -webkit-text-stroke: 1px rgba(180, 255, 210, 0.35);
  text-shadow: 1px rgba(180, 255, 210, 0.35);

  opacity: 0.6;
}

.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 200px;
    position: relative;
    isolation: isolate;
}

/* Create visual separation with elegant divider */
.card-row::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(120, 220, 160, 0.3),
        rgba(29, 209, 161, 0.5),
        rgba(120, 220, 160, 0.3),
        transparent
    );
    box-shadow:
        0 0 8px rgba(120, 220, 160, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.03);
    border-radius: 2px;
}

/* Add subtle dot accents on each end */
.card-row::before {
    content: "•";
    position: absolute;
    bottom: -103px;
    left: calc(50% - 70px);
    color: rgba(120, 220, 160, 0.4);
    font-size: 8px;
    z-index: 1;
}

.card-row:last-child::after,
.card-row:last-child::before {
    display: none;
}

/* Break uniformity with varied proportions */
.card-row:nth-child(1) {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 120px;
    margin-bottom: 240px;
}

.card-row:nth-child(2) {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 100px;
    margin-bottom: 220px;
}

.card-row:nth-child(3) {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 110px;
}

.card-row:last-child {
    margin-bottom: 0;
}

.card-row.reverse {
    direction: rtl;
}

.card-row.reverse > * {
    direction: ltr;
}

/* Charcoal Card Foundation - from markdown guide section 3 */
.card-content {
    position: relative;
    background: var(--charcoal);
    color: #e6f4ef;
    padding: 3rem 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    cursor: pointer;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.55),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Varied vertical alignment and visual weight for natural flow */
.card-row:nth-child(1) .card-content {
    align-items: flex-start;
    padding-top: 4rem;
    min-height: 200px;
}

.card-row:nth-child(2) .card-content {
    align-items: flex-end;
    padding-bottom: 4rem;
    min-height: 180px;
}

.card-row:nth-child(3) .card-content {
    align-items: center;
    min-height: 160px;
}

/* Ensure content is above glass overlay - from markdown guide section 4 */
.card-content > * {
    position: relative;
    z-index: 1;
}

/* Enhanced Green Glass Overlay - from markdown guide section 4 */
.card-content::before {
    content: "";
    position: absolute;
    inset: 0;

    /* Layered gradient for depth */
    background: linear-gradient(135deg, rgba(120, 220, 140, 0.16), rgba(120, 220, 140, 0.05));
    background-blend-mode: overlay;

    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);

    border-radius: inherit;
    pointer-events: none;

    /* Inner glow to suggest thickness */
    box-shadow: inset 0 0 12px rgba(200, 255, 180, 0.08);
}

/* Card Shine Effect */
.card-content .card-shine {
    border-radius: inherit;
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.card-content .card-shine::before {
    content: '';
    width: 150%;
    padding-bottom: 150%;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    bottom: 55%;
    filter: blur(35px);
    opacity: 0.1;
    transform: translateX(-50%);
    background-image: conic-gradient(
        from 205deg at 50% 50%,
        rgba(120, 220, 140, 0) 0deg,
        #1dd1a1 25deg,
        rgba(52, 211, 153, 0.18) 295deg,
        rgba(120, 220, 140, 0) 360deg
    );
}

/* Card Background Animation */
.card-content .card-background {
    border-radius: inherit;
    position: absolute;
    inset: 0;
    overflow: hidden;
    -webkit-mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 80%);
    mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 80%);
}

.card-content .card-tiles {
    opacity: 0;
    transition: opacity 0.25s;
}

.card-content .tile {
    position: absolute;
    background-color: rgba(120, 220, 140, 0.05);
    animation-duration: 8s;
    animation-iteration-count: infinite;
    opacity: 0;
}

.card-content .tile-4, .card-content .tile-6, .card-content .tile-10 { animation-delay: -2s; }
.card-content .tile-3, .card-content .tile-5, .card-content .tile-8 { animation-delay: -4s; }
.card-content .tile-2, .card-content .tile-9 { animation-delay: -6s; }

.card-content .tile-1 { top: 0; left: 0; height: 10%; width: 22.5%; }
.card-content .tile-2 { top: 0; left: 22.5%; height: 10%; width: 27.5%; }
.card-content .tile-3 { top: 0; left: 50%; height: 10%; width: 27.5%; }
.card-content .tile-4 { top: 0; left: 77.5%; height: 10%; width: 22.5%; }
.card-content .tile-5 { top: 10%; left: 0; height: 22.5%; width: 22.5%; }
.card-content .tile-6 { top: 10%; left: 22.5%; height: 22.5%; width: 27.5%; }
.card-content .tile-7 { top: 10%; left: 50%; height: 22.5%; width: 27.5%; }
.card-content .tile-8 { top: 10%; left: 77.5%; height: 22.5%; width: 22.5%; }
.card-content .tile-9 { top: 32.5%; left: 50%; height: 22.5%; width: 27.5%; }
.card-content .tile-10 { top: 32.5%; left: 77.5%; height: 22.5%; width: 22.5%; }

/* Card Lines */
.card-content .card-line {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s;
}

.card-content .card-line::before,
.card-content .card-line::after {
    content: '';
    position: absolute;
    background-color: rgba(120, 220, 160, 0.2);
    transition: transform 0.35s;
}

.card-content .card-line::before {
    left: 0;
    right: 0;
    height: 1px;
    transform-origin: 0 50%;
    transform: scaleX(0);
}

.card-content .card-line::after {
    top: 0;
    bottom: 0;
    width: 1px;
    transform-origin: 50% 0;
    transform: scaleY(0);
}

.card-content .line-1::before { top: 10%; }
.card-content .line-1::after { left: 22.5%; }
.card-content .line-1::before, .card-content .line-1::after { transition-delay: 0.3s; }

.card-content .line-2::before { top: 32.5%; }
.card-content .line-2::after { left: 50%; }
.card-content .line-2::before, .card-content .line-2::after { transition-delay: 0.15s; }

.card-content .line-3::before { top: 55%; }
.card-content .line-3::after { right: 22.5%; }

/* Hover State */
.card-content:hover {
    box-shadow:
        0px 5px 10px rgba(0, 0, 0, 0.04),
        0px 15px 25px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(120, 220, 160, 0.2);
}

.card-content:hover .card-shine {
    opacity: 1;
}

.card-content:hover .card-tiles {
    opacity: 1;
    transition-delay: 0.25s;
}

.card-content:hover .tile {
    animation-name: tile;
}

.card-content:hover .card-line {
    opacity: 1;
    transition-duration: 0.15s;
}

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

.card-content:hover .card-line::after {
    transform: scaleY(1);
}

.card-content:hover .line-1::before,
.card-content:hover .line-1::after {
    transition-delay: 0s;
}

.card-content:hover .line-2::before,
.card-content:hover .line-2::after {
    transition-delay: 0.15s;
}

.card-content:hover .line-3::before,
.card-content:hover .line-3::after {
    transition-delay: 0.3s;
}

.card-content h3 {
    position: relative;
    z-index: 1;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0;
    font-weight: 500;
    line-height: 1.3;
    color: var(--off-white);
    text-align: center;
    letter-spacing: -0.01em;
}

/* Vary text weight for visual rhythm */
.card-row:nth-child(1) .card-content h3 {
    font-size: clamp(1.7rem, 3.4vw, 2.3rem);
    font-weight: 600;
    line-height: 1.2;
}

.card-row:nth-child(2) .card-content h3 {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    font-weight: 500;
    opacity: 0.95;
}

.card-row:nth-child(3) .card-content h3 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 550;
}

.card-content p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    opacity: 0.9;
    color: var(--off-white);
}

/* Images as independent atmospheric elements - varied scale and position */
.card-image {
    border-radius: 14px;
    overflow: visible;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.3),
        0 0 0 0.5px rgba(255, 255, 255, 0.08);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Varied image treatments for natural rhythm */
.card-row:nth-child(1) .card-image img {
    transform: scale(1.08) translateY(-8px);
}

.card-row:nth-child(2) .card-image img {
    transform: scale(0.96) translateY(12px);
}

.card-row:nth-child(3) .card-image img {
    transform: scale(1.03) translateY(-4px);
}

.card-image img:hover {
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.6),
        0 4px 10px rgba(0, 0, 0, 0.35),
        0 0 0 0.5px rgba(255, 255, 255, 0.12);
}

.card-row:nth-child(1) .card-image img:hover {
    transform: scale(1.1) translateY(-12px);
}

.card-row:nth-child(2) .card-image img:hover {
    transform: scale(0.98) translateY(8px);
}

.card-row:nth-child(3) .card-image img:hover {
    transform: scale(1.05) translateY(-8px);
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .card-content::before {
        background: rgba(20, 40, 35, 0.65);
    }
}

/* PRICE Section - Charcoal Card Foundation with Green Glass Overlay */
.price-section {
    padding: 200px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    /* Solid charcoal base - from markdown guide section 3 */
    background: var(--charcoal);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 8px 20px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    backface-visibility: hidden;
    pointer-events: auto;
}

/* Enhanced Green Glass Overlay for entire section - from markdown guide section 4 */
.price-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    /* Layered gradient for depth */
    background: linear-gradient(135deg, rgba(120, 220, 140, 0.16), rgba(120, 220, 140, 0.05));
    background-blend-mode: overlay;

    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);

    border-radius: inherit;
    pointer-events: none;

    /* Inner glow to suggest thickness */
    box-shadow: inset 0 0 12px rgba(200, 255, 180, 0.08);
}

/* Ensure all content is above the glass overlay */
.price-section > * {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 100px;
    font-weight: 700;
    color: #036666;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.price-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.price-card {
    position: relative;
    padding: 3.5rem 3rem;
    text-align: left;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

/* Enhanced glass backing for all pricing cards with green glow */
.price-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(20, 40, 35, 0.18);
    backdrop-filter: blur(10px) saturate(110%);
    -webkit-backdrop-filter: blur(10px) saturate(110%);
    border-radius: 18px;
    box-shadow:
        inset 0 0 0 1px rgba(120, 220, 160, 0.12),
        0 12px 40px rgba(120, 220, 160, 0.12);
    pointer-events: none;
    opacity: 0.85;
}

.price-card:hover::before {
    opacity: 0.95;
    background: rgba(20, 40, 35, 0.24);
    box-shadow:
        inset 0 0 0 1px rgba(120, 220, 160, 0.18),
        0 16px 48px rgba(120, 220, 160, 0.18);
}

/* Price Card Shine Effect - from ethos cards */
.price-card .card-shine {
    border-radius: inherit;
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.price-card .card-shine::before {
    content: '';
    width: 150%;
    padding-bottom: 150%;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    bottom: 55%;
    filter: blur(35px);
    opacity: 0.1;
    transform: translateX(-50%);
    background-image: conic-gradient(
        from 205deg at 50% 50%,
        rgba(120, 220, 140, 0) 0deg,
        #1dd1a1 25deg,
        rgba(52, 211, 153, 0.18) 295deg,
        rgba(120, 220, 140, 0) 360deg
    );
}

.price-card:hover .card-shine {
    opacity: 1;
}

/* Featured card - same glass treatment, distinction comes from badge */
.price-card.featured::before {
    /* Inherits the same enhanced glass as all cards */
}

.price-card.featured {
    padding-top: 4.5rem;
}

.badge {
    position: absolute;
    top: 0rem;
    left: 3rem;
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
    color: #0b1a14;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(29, 209, 161, 0.3);
}

.price-card h3 {
    position: relative;
    z-index: 1;
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-bottom: 24px;
    font-weight: 600;
    color: var(--off-white);
    line-height: 1.2;
}

.price {
    position: relative;
    z-index: 1;
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--primary-green);
    line-height: 1;
}

.price span {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 500;
    color: var(--off-white);
    opacity: 0.75;
}

.features {
    position: relative;
    z-index: 1;
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.features li {
    padding: 14px 0 14px 28px;
    border-bottom: 1px solid rgba(120, 220, 160, 0.08);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--off-white);
    opacity: 0.9;
    line-height: 1.5;
    position: relative;
}

.features li:last-child {
    border-bottom: none;
}

.features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.1rem;
}

.price-card .btn {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 20px;
}

/* Section subtitle and notes */
.section-subtitle {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    color: var(--off-white);
    opacity: 0.85;
    margin-bottom: 80px;
    margin-top: -60px;
}

.launch-offer-text,
.pricing-note,
.capacity-notice-text {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: -10px;
    color: var(--off-white);
}

.launch-offer-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    padding: 16px 24px;
    background: rgba(29, 209, 161, 0.08);
    border-radius: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(29, 209, 161, 0.15);
}

.pricing-details-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.pricing-details-link:hover {
    opacity: 0.8;
}

.setup-fee-card {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    font-size: 1rem;
    color: var(--off-white);
    opacity: 0.8;
}

.strike-price {
    text-decoration: line-through;
    opacity: 0.5;
    margin-right: 8px;
}

/* Responsive for cards - maintain generous spacing on mobile */
@media (max-width: 768px) {
    /* Brighter lime energy background for mobile */
    .lime-layer {
        background:
            repeating-linear-gradient(135deg, rgba(160,255,90,0.15), rgba(160,255,90,0.15) 1px, transparent 1px, transparent 8px),
            linear-gradient(to bottom, rgba(120,200,120,0.12), rgba(24, 24, 24, 0.2)),
            var(--charcoal);
    }

    .lime-layer::before {
        background: linear-gradient(120deg, transparent 45%, rgba(180,255,120,0.16) 50%, transparent 55%);
    }

    .problem-solution-section {
        padding: 200px 24px;
    }

    .card-row,
    .card-row.reverse {
        grid-template-columns: 1fr;
        gap: 80px;
        direction: ltr;
        margin-bottom: 180px;
    }

    /* Reset varied spacing on mobile for consistency */
    .card-row:nth-child(1),
    .card-row:nth-child(2),
    .card-row:nth-child(3) {
        grid-template-columns: 1fr;
        gap: 80px;
        margin-bottom: 180px;
    }

    .card-content {
        order: 1;
        padding: 2rem 2rem;
        min-height: 180px;
        align-items: center !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .card-content h3 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .card-image {
        order: 2;
    }

    /* Reset image transforms on mobile */
    .card-row:nth-child(1) .card-image img,
    .card-row:nth-child(2) .card-image img,
    .card-row:nth-child(3) .card-image img {
        transform: none;
    }

    .card-row:nth-child(1) .card-image img:hover,
    .card-row:nth-child(2) .card-image img:hover,
    .card-row:nth-child(3) .card-image img:hover {
        transform: translateY(-4px) scale(1.01);
    }

    /* Responsive for price cards */
    .price-section {
        padding: 100px 24px;
    }

    .price-cards {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .section-title {
        margin-bottom: 60px;
    }

    .section-subtitle {
        margin-bottom: 50px;
    }

    /* Reduce spacing and font sizes for cta-section content on mobile */
    .cta-title {
        font-size: clamp(1.3rem, 5.5vw, 1.8rem);
        margin-top: 200px;
        margin-bottom: 12px;
    }

    .cta-bridge-intro {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .pain-points {
        margin-bottom: 12px;
        padding: 0 12px;
    }

    .pain-points li {
        font-size: 0.9rem;
        padding: 4px 0 4px 20px;
        line-height: 1.4;
    }

    .pain-points li:before {
        font-size: 1.2rem;
        left: 0;
    }

    .cta-bridge-closing {
        font-size: 1rem;
        margin: 12px auto 10px;
    }

    .cta-buttons {
        gap: 12px;
    }
}
.attribution {
    font-size: 0.8rem; /* Example: Small but readable font size */
    color: #1c79f4;      /* Example: Subtle light gray color */
    text-align: center; /* Center the text for balance */
    padding: 10px 0;    /* Add some padding for spacing */
  }

  .attribution a {
    color: #1c79f4;           /* Link color matches text color */
    text-decoration: none; /* Remove underline by default */
  }

  .attribution a:hover,
  .attribution a:focus {
    text-decoration: underline; /* Add underline on hover for accessibility */
  }
.why-section {
  background-color: #1c1d1f8b;
  color: #e6f4ef;
  font-family: 'Montserrat', sans-serif;
  padding: 80px 20px;
  text-align: center;
  border-radius: 18px;
}

.why-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #80EF80;
  font-weight: 700;
}

.why-section .why-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.why-section .why-list li {
  font-size: 1.2rem;
  padding: 12px 0;
  position: relative;
  padding-left: 30px;
  line-height: 1.4;
}

.why-section .why-list li::before {
  content: '✓';
  color: #7CFF6B;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
}

.why-section .why-list a {
  color: #7CFF6B;
  text-decoration: underline;
}

.screenshot-gallery {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.screenshot-gallery img {
  max-width: 250px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
  /* Position glass-etch at very top of the green glass card */
  .glass-etch {
    top: 10px;
  }

  /* Make "Why Choose SiteThreeSixty" smaller to prevent overflow */
  .why-section h2 {
    font-size: 1.8rem;
  }

  /* First scrolling section animation - rise from below on mobile */
  .problem-solution-section {
    transform: translateY(40px);
    opacity: 0.85;
    transition: transform 0.9s cubic-bezier(0.25, 0.8, 0.25, 1) 1s,
                opacity 0.9s ease-out 1s;
    box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  }

  /* Trigger animation after page load */
  .problem-solution-section.animated {
    transform: translateY(0);
    opacity: 1;
  }
}
