/* ============================================
   BAKEDWITH × ORANGECAD MED – Pitch Website
   ============================================ */

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

:root {
    --orange: #F27B20;
    --orange-light: #FF9A47;
    --orange-dark: #D96A10;
    --orange-glow: rgba(242, 123, 32, 0.15);
    --orange-glow-strong: rgba(242, 123, 32, 0.3);

    --dark: #0A0A0B;
    --dark-card: #111113;
    --dark-border: #1E1E22;
    --dark-hover: #18181B;

    --white: #FAFAFA;
    --gray-100: #F4F4F5;
    --gray-200: #E4E4E7;
    --gray-300: #D4D4D8;
    --gray-400: #A1A1AA;
    --gray-500: #71717A;
    --gray-600: #52525B;
    --gray-700: #3F3F46;
    --gray-800: #27272A;
    --gray-900: #18181B;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --nav-height: 72px;
}

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

body {
    font-family: var(--font-main);
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.text-orange {
    color: var(--orange);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-border);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-baked {
    color: var(--white);
}

.logo-x {
    color: var(--gray-500);
    font-weight: 400;
}

.logo-orange {
    color: var(--orange);
}

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

.nav-links a {
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: color 0.2s ease;
    font-weight: 500;
}

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

.nav-links .nav-cta {
    background: var(--orange);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-links .nav-cta:hover {
    background: var(--orange-light);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    border-bottom: 1px solid var(--dark-border);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1rem;
    color: var(--gray-300);
    padding: 12px 0;
    border-bottom: 1px solid var(--dark-border);
    font-weight: 500;
}

.mobile-menu .nav-cta {
    background: var(--orange);
    color: var(--white);
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    border-bottom: none;
    font-weight: 600;
    margin-top: 8px;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(242, 123, 32, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242, 123, 32, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-accent {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-400);
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 64px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--dark-border);
}

.hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
    animation: float 3s ease-in-out infinite;
}

.hero-scroll:hover {
    color: var(--orange);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* --- Sections --- */
.section {
    padding: 120px 0;
    position: relative;
}

.section-dark {
    background: var(--dark-card);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* --- Vision Cards --- */
.vision-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.vision-card {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.vision-card:hover {
    border-color: var(--gray-700);
    transform: translateY(-4px);
}

.vision-card-highlight {
    border-color: var(--orange);
    background: linear-gradient(135deg, rgba(242, 123, 32, 0.05) 0%, var(--dark) 100%);
}

.vision-card-highlight:hover {
    border-color: var(--orange-light);
}

.vision-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--orange);
}

.vision-icon svg {
    width: 100%;
    height: 100%;
}

.vision-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.vision-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.vision-arrow {
    width: 40px;
    height: 40px;
    color: var(--orange);
    flex-shrink: 0;
}

.vision-arrow svg {
    width: 100%;
    height: 100%;
}

/* --- Problem Grid --- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 36px 32px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.problem-card:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
}

.problem-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 16px;
    display: block;
}

.problem-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* --- Pillars --- */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar {
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.pillar:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar:hover::before {
    opacity: 1;
}

.pillar-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 16px;
    opacity: 0.6;
}

.pillar h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.pillar-subtitle {
    font-size: 0.9rem;
    color: var(--orange);
    font-weight: 500;
    margin-bottom: 24px;
}

.pillar ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pillar li {
    font-size: 0.9rem;
    color: var(--gray-400);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.pillar li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
}

/* --- Measures / Accordion --- */
.measure {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.measure:hover {
    border-color: var(--gray-700);
}

.measure.active {
    border-color: var(--orange);
}

.measure-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    cursor: pointer;
    user-select: none;
}

.measure-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--orange);
}

.measure-icon svg {
    width: 100%;
    height: 100%;
}

.measure-header h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

.measure-tag {
    font-size: 0.75rem;
    color: var(--orange);
    font-weight: 500;
    margin-top: 2px;
}

.measure-toggle {
    width: 32px;
    height: 32px;
    margin-left: auto;
    flex-shrink: 0;
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    color: var(--gray-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.measure-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-out);
}

.measure.active .measure-toggle {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.measure.active .measure-toggle svg {
    transform: rotate(45deg);
}

.measure-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.measure.active .measure-body {
    max-height: 600px;
    padding: 0 28px 28px;
}

.measure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.measure-item {
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 24px;
}

.measure-item h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.measure-item p {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 48px;
}

.timeline-line {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--dark-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -41px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--orange);
    border: 3px solid var(--dark-card);
    box-shadow: 0 0 0 2px var(--orange);
}

.timeline-content {
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--orange);
    transform: translateX(8px);
}

.timeline-phase {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.timeline-period {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.timeline-content ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-content li {
    font-size: 0.9rem;
    color: var(--gray-400);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.timeline-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0.6;
}

/* --- Pricing Summary --- */
.pricing-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 64px;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 40px 48px;
    text-align: center;
    flex: 0 1 320px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--gray-600);
    transform: translateY(-4px);
}

.pricing-card-highlight {
    border-color: var(--orange);
    background: linear-gradient(135deg, rgba(242, 123, 32, 0.06) 0%, var(--dark) 100%);
}

.pricing-card-highlight:hover {
    border-color: var(--orange-light);
}

.pricing-phase {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 8px;
}

.pricing-amount span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-400);
}

.pricing-desc {
    font-size: 0.95rem;
    color: var(--gray-400);
}

.pricing-arrow {
    width: 40px;
    height: 40px;
    color: var(--orange);
    flex-shrink: 0;
}

.pricing-arrow svg {
    width: 100%;
    height: 100%;
}

.pricing-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-top: 40px;
    font-style: normal;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 16px 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .pricing-summary {
        flex-direction: column;
        gap: 16px;
    }

    .pricing-card {
        flex: 1 1 auto;
        width: 100%;
        padding: 32px;
    }

    .pricing-arrow {
        transform: rotate(90deg);
    }

    .pricing-amount {
        font-size: 2.2rem;
    }
}

/* --- Why Grid --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 36px 32px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.why-card:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
}

.why-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 16px;
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* --- CTA Section --- */
.section-cta {
    background: linear-gradient(135deg, rgba(242, 123, 32, 0.08) 0%, var(--dark) 100%);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

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

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    margin-top: 16px;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(242, 123, 32, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--gray-300);
    border: 1px solid var(--dark-border);
}

.btn-secondary:hover {
    border-color: var(--gray-600);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--dark-border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand .logo-baked {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.footer-meta {
    text-align: right;
}

.footer-meta p {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* --- PIN Lock Screen --- */
.pin-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s var(--ease-out), visibility 0.5s var(--ease-out);
}

.pin-overlay.unlocked {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.locked {
    overflow: hidden;
}

.pin-container {
    text-align: center;
    padding: 24px;
}

.pin-container .pin-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.pin-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 24px;
    font-weight: 500;
}

.pin-dots {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 12px;
}

.pin-dot-input {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--gray-700);
    transition: all 0.2s ease;
}

.pin-dot-input.filled {
    background: var(--orange);
    border-color: var(--orange);
    box-shadow: 0 0 12px rgba(242, 123, 32, 0.4);
}

.pin-error {
    font-size: 0.8rem;
    color: #ef4444;
    height: 20px;
    margin-bottom: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pin-error.visible {
    opacity: 1;
}

.pin-keypad {
    display: grid;
    grid-template-columns: repeat(3, 72px);
    gap: 12px;
    justify-content: center;
}

.pin-key {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid var(--dark-border);
    background: var(--dark-card);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.pin-key:active {
    background: var(--orange);
    border-color: var(--orange);
    transform: scale(0.92);
}

.pin-key:hover {
    border-color: var(--gray-600);
}

.pin-key-empty {
    visibility: hidden;
    pointer-events: none;
}

.pin-key-delete {
    color: var(--gray-400);
}

.pin-key-delete:active {
    background: var(--dark-hover);
    color: var(--white);
}

@keyframes pin-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

.pin-dots.shake {
    animation: pin-shake 0.4s ease;
}

@media (max-width: 480px) {
    .pin-keypad {
        grid-template-columns: repeat(3, 64px);
        gap: 10px;
    }

    .pin-key {
        width: 64px;
        height: 64px;
        font-size: 1.2rem;
    }
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .pillars {
        grid-template-columns: 1fr;
    }

    .vision-arrow {
        transform: rotate(90deg);
    }
}

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

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }

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

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

    .vision-cards {
        flex-direction: column;
    }

    .vision-card {
        max-width: 100%;
    }

    .vision-arrow {
        transform: rotate(90deg);
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline-dot {
        left: -33px;
    }

    .measure-header {
        padding: 20px;
    }

    .measure.active .measure-body {
        padding: 0 20px 20px;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-meta {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .stat-number, .stat-plus {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.7rem;
    }
}
