* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Consistent max-width for readability */
.prose-container {
    max-width: 70ch;
}

/* Noise texture overlay */
.noise-texture::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Grid pattern background with gradient overlay */
.grid-pattern {
    background-image:
        linear-gradient(to bottom, transparent 0%, rgba(229, 244, 80, 0.03) 100%),
        linear-gradient(rgba(229, 244, 80, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 244, 80, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 60px 60px, 60px 60px;
}

/* Glow effect for lime text */
.lime-glow {
    text-shadow: 0 0 30px rgba(229, 244, 80, 0.3), 0 0 60px rgba(229, 244, 80, 0.15);
}

/* Link underline animation */
.link-underline {
    position: relative;
    text-decoration: none;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}

/* Improved button styles - UNIFIED */
.btn-primary {
    position: relative;
    border: 2px solid #E5F450;
    background: #E5F450;
    color: #1A2E40;
    padding: 20px 48px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-height: 56px;
}

.btn-primary:hover {
    background: transparent;
    color: #E5F450;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 244, 80, 0.2);
}

.btn-primary::after {
    content: '→';
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-primary:hover::after {
    transform: translateX(4px);
}

.btn-secondary {
    border: 2px solid white;
    background: transparent;
    color: white;
    padding: 20px 48px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    min-height: 56px;
    text-decoration: none;
}

.btn-secondary:hover {
    background: white;
    color: #1A2E40;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* Number labels - consistent typography */
.number-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Outlined text - enhanced */
.text-outlined {
    color: transparent;
    -webkit-text-stroke: 3px #E5F450;
    text-stroke: 3px #E5F450;
    filter: drop-shadow(0 0 8px rgba(229, 244, 80, 0.4));
}

/* Fade in animation - subtle */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Slide from left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Enhanced card hover */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    border-color: #E5F450;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Stats bars - enhanced */
.stat-bar {
    height: 8px;
    background: #E5F450;
    transition: width 1s ease;
    border-radius: 4px;
}

.stat-bar-container {
    border-radius: 4px;
    overflow: hidden;
}

/* Logo styling */
.nav-logo {
    height: 32px;
    width: auto;
}

/* Section spacing consistency */
section {
    padding-top: 120px;
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .nav-logo {
        height: 28px;
    }
}

/* Typography consistency */
h1 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h3 {
    font-weight: 700;
    line-height: 1.3;
}

p {
    line-height: 1.7;
}

.text-large {
    font-size: 1.25rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }
}

/* Problem card simple styling */
.problem-card {
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: #E5F450;
    transform: translateY(-2px);
}

/* Gradient border for quote bar */
.quote-bar-gradient {
    border-left: 8px solid transparent;
    border-image: linear-gradient(to bottom, #E5F450 0%, rgba(229, 244, 80, 0.3) 100%) 1;
}

/* Larger headings on desktop */
@media (min-width: 1024px) {
    h1 {
        font-size: 6rem !important;
        line-height: 1.05;
    }

    h2 {
        font-size: 4rem !important;
    }
}

/* Section gradient transitions */
.section-gradient-border {
    border-top: 1px solid transparent;
    border-image: linear-gradient(to right, transparent 0%, rgba(229, 244, 80, 0.3) 50%, transparent 100%) 1;
}

/* 30% time highlight box */
.time-highlight {
    display: inline-block;
    background: rgba(229, 244, 80, 0.08);
    border: 2px solid rgba(229, 244, 80, 0.3);
    padding: 4px 16px;
    border-radius: 4px;
}

/* Paragraph opacity variations */
.text-gray-400-custom {
    color: rgba(255, 255, 255, 0.5);
}

.text-gray-300-bright {
    color: rgba(255, 255, 255, 0.85);
}

/* Enhanced POLECANE badge */
.badge-polecane {
    font-size: 0.8rem;
    padding: 6px 14px;
    border: 2px solid #E5F450;
    background: rgba(229, 244, 80, 0.1);
    box-shadow: 0 0 20px rgba(229, 244, 80, 0.3), 0 0 40px rgba(229, 244, 80, 0.15);
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(229, 244, 80, 0.3), 0 0 40px rgba(229, 244, 80, 0.15); }
    50% { box-shadow: 0 0 25px rgba(229, 244, 80, 0.4), 0 0 50px rgba(229, 244, 80, 0.2); }
}

/* Path icons/badges */
.path-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    font-size: 24px;
    margin-bottom: 16px;
}

.path-icon-starter {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.path-icon-bootcamp {
    background: rgba(229, 244, 80, 0.1);
    border: 2px solid rgba(229, 244, 80, 0.3);
}

.path-icon-office {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* DEXTER styling - removed badge background */
.dexter-text {
    display: inline-block;
}

/* Email hover pulse effect */
.email-cta {
    transition: all 0.3s ease;
    display: inline-block;
}

.email-cta:hover {
    transform: scale(1.02);
    text-shadow: 0 0 20px rgba(229, 244, 80, 0.4);
}

@keyframes email-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}
