/* ===== Web Development Page ===== */
/* Accent: Emerald Green #10b981 / #059669 */

:root {
    --wd-accent: #10b981;
    --wd-accent-dark: #059669;
    --wd-accent-glow: rgba(16, 185, 129, 0.25);
    --wd-accent-soft: rgba(16, 185, 129, 0.08);
    --wd-accent-border: rgba(16, 185, 129, 0.15);
    --wd-gradient: linear-gradient(135deg, #10b981, #059669);
}

/* Override global accent on this page */
.web-dev-page .highlight {
    background: var(--wd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== HERO ===== */
.wd-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 120px 5vw 80px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--wd-accent-glow) 0%, transparent 70%);
    top: 20%;
    left: -10%;
    pointer-events: none;
    animation: floatGlow 6s ease-in-out infinite;
}

@keyframes floatGlow {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-content {
    flex: 1;
    min-width: 320px;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--wd-accent-soft);
    border: 1px solid var(--wd-accent-border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wd-accent);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-badge.pulse {
    animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 var(--wd-accent-glow);
    }

    50% {
        box-shadow: 0 0 20px 4px var(--wd-accent-glow);
    }
}

.badge-icon svg {
    display: block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-subtitle strong {
    color: rgba(255, 255, 255, 0.9);
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-feature .feature-check {
    color: var(--wd-accent);
    font-weight: 700;
    font-size: 1rem;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.web-dev-page .btn-primary {
    background: var(--wd-gradient);
    border: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.web-dev-page .btn-primary svg {
    width: 18px;
    height: 18px;
}

.web-dev-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--wd-accent-glow);
}

.web-dev-page .btn-glow {
    box-shadow: 0 4px 20px var(--wd-accent-glow);
}

.web-dev-page .btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.web-dev-page .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--wd-accent-border);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* ===== Code Editor Visual ===== */
.hero-visual {
    flex: 1;
    min-width: 320px;
    max-width: 520px;
}

.code-preview {
    perspective: 1000px;
}

.code-window {
    background: rgba(10, 10, 14, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--wd-accent-glow);
    transform: rotateY(-3deg) rotateX(2deg);
    transition: transform 0.5s;
}

.code-window:hover {
    transform: rotateY(0) rotateX(0);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-dots {
    display: flex;
    gap: 7px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot:nth-child(1) {
    background: #ff5f57;
}

.code-dot:nth-child(2) {
    background: #ffbd2e;
}

.code-dot:nth-child(3) {
    background: #28ca42;
}

.code-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.code-body {
    padding: 20px;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.82rem;
    line-height: 1.8;
}

.code-line {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.code-line.highlight-line {
    background: rgba(16, 185, 129, 0.08);
    border-left: 2px solid var(--wd-accent);
}

.line-num {
    color: rgba(255, 255, 255, 0.2);
    min-width: 20px;
    text-align: right;
    user-select: none;
    font-size: 0.75rem;
}

.tag {
    color: #f472b6;
}

.attr {
    color: #60a5fa;
}

.str {
    color: var(--wd-accent);
}

.comment {
    color: rgba(255, 255, 255, 0.25);
    font-style: italic;
}

.text {
    color: #fbbf24;
}

.cursor {
    border-right: 2px solid var(--wd-accent);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        border-color: var(--wd-accent);
    }

    50% {
        border-color: transparent;
    }
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 1rem;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--wd-accent-soft);
    border: 1px solid var(--wd-accent-border);
    border-radius: 100px;
    color: var(--wd-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

/* ===== TECH STACK / TOOLS ===== */
.tools-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5vw 60px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--wd-gradient);
    opacity: 0;
    transition: opacity 0.4s;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--wd-accent-border);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.08);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.tool-icon svg {
    width: 26px;
    height: 26px;
}

.tool-icon-html {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.tool-icon-js {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.tool-icon-node {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.tool-icon-react {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
}

.tool-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 14px;
}

.tool-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--wd-accent-soft);
    border: 1px solid var(--wd-accent-border);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--wd-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== FEATURES BENTO ===== */
.features-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 5vw 80px;
}

.features-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--wd-accent-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--wd-accent-border);
}

.bento-card:hover::after {
    opacity: 0.15;
}

.bento-large {
    grid-column: span 2;
}

.bento-wide {
    grid-column: span 3;
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--wd-accent-soft);
    border: 1px solid var(--wd-accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--wd-accent);
}

.bento-icon svg {
    width: 22px;
    height: 22px;
}

.bento-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.bento-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.bento-visual {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.format-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

/* ===== PORTFOLIO SHOWCASE ===== */
.showcase-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 5vw 60px;
}

.showcase-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
}

/* Tabs */
.showcase-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.showcase-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.showcase-tab svg {
    opacity: 0.5;
    transition: opacity 0.3s;
}

.showcase-tab:hover {
    background: rgba(16, 185, 129, 0.06);
    border-color: var(--wd-accent-border);
    color: rgba(255, 255, 255, 0.8);
}

.showcase-tab.active {
    background: var(--wd-accent-soft);
    border-color: var(--wd-accent);
    color: var(--wd-accent);
}

.showcase-tab.active svg {
    opacity: 1;
    color: var(--wd-accent);
}

/* Browser Frame */
.showcase-browser {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(16, 185, 129, 0.04);
    background: #0a0a0e;
}

.browser-chrome {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dots {
    display: flex;
    gap: 7px;
}

.browser-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f57;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #28ca42;
}

.browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    max-width: 400px;
}

.browser-url svg {
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.url-text {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'SF Mono', 'Fira Code', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Viewport */
.browser-viewport {
    position: relative;
    height: 520px;
    overflow: hidden;
    transition: opacity 0.3s;
}

.browser-viewport.loading {
    opacity: 0.5;
}

.browser-viewport.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid rgba(16, 185, 129, 0.2);
    border-top-color: var(--wd-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 10;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.browser-viewport iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #0a0a0e;
}

/* Info bar below browser */
.showcase-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.showcase-detail {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-tag {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

.detail-tech {
    font-size: 0.85rem;
    color: var(--wd-accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.showcase-cta {
    margin-left: auto;
}

/* ===== WORKFLOW TIMELINE ===== */
.workflow-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 5vw 80px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--wd-accent), var(--wd-accent-dark), transparent);
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInTimeline 0.6s forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes slideInTimeline {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 12px;
    background: var(--wd-accent-soft);
    border: 1px solid var(--wd-accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wd-accent);
    z-index: 1;
    position: absolute;
    left: -40px;
}

.timeline-icon svg {
    width: 16px;
    height: 16px;
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 5vw;
}

.pricing-explanation {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 0%, var(--wd-accent-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--wd-accent-border);
}

.pricing-card:hover::before {
    opacity: 0.2;
}

.card-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--wd-accent-glow) 0%, transparent 70%);
    top: -40px;
    right: -40px;
    opacity: 0;
    transition: opacity 0.4s;
}

.pricing-card:hover .card-glow {
    opacity: 0.5;
}

.featured-glow {
    opacity: 0.3 !important;
}

/* Featured card */
.pricing-card.featured {
    border-color: var(--wd-accent-border);
    background: rgba(16, 185, 129, 0.04);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.06);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 14px;
    background: var(--wd-gradient);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}

.pricing-header {
    margin-bottom: 20px;
}

.pricing-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--wd-accent-soft);
    border: 1px solid var(--wd-accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wd-accent);
    margin-bottom: 16px;
}

.pricing-icon svg {
    width: 22px;
    height: 22px;
}

.pricing-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.pricing-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.price-block {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

.custom-price {
    align-items: center;
}

.custom-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--wd-accent);
}

.price-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

.pricing-features .check {
    color: var(--wd-accent);
    font-weight: 700;
    min-width: 16px;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

/* ===== FAQ ===== */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 5vw 80px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    border-color: var(--wd-accent-border);
    background: rgba(16, 185, 129, 0.03);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: color 0.3s;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s, color 0.3s;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--wd-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* ===== BOTTOM CTA ===== */
.wd-cta-section {
    text-align: center;
    padding: 80px 5vw;
    max-width: 700px;
    margin: 0 auto;
}

.wd-cta-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.wd-cta-section p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
    line-height: 1.7;
}

.wd-cta-section .cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.wd-cta-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .wd-hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-features {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        max-width: 460px;
        width: 100%;
    }

    .code-window {
        transform: none;
    }

    .features-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large {
        grid-column: span 2;
    }

    .bento-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .wd-hero {
        padding: 100px 5vw 60px;
        min-height: auto;
    }

    .features-bento {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .timeline {
        padding-left: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .code-body {
        font-size: 0.7rem;
        padding: 12px;
    }

    .pricing-card {
        padding: 28px 20px;
    }
}

/* ===== COMPARE TABLE ===== */
.compare-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.compare-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.compare-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--wd-accent-border);
    color: #fff;
}

.compare-toggle.active {
    background: var(--wd-accent-soft);
    border-color: var(--wd-accent-border);
    color: var(--wd-accent);
}

.compare-table-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin 0.5s ease, opacity 0.4s ease;
    opacity: 0;
    margin-top: 0;
}

.compare-table-wrapper.visible {
    max-height: 600px;
    opacity: 1;
    margin-top: 32px;
}

.compare-table {
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.compare-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: center;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
}

.compare-table th {
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
    padding: 18px 20px;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.compare-table .featured-col {
    background: rgba(16, 185, 129, 0.04);
}

.compare-table thead .featured-col {
    background: rgba(16, 185, 129, 0.08);
    color: var(--wd-accent);
}

.table-check {
    color: var(--wd-accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.table-x {
    color: rgba(255, 255, 255, 0.2);
    font-size: 1rem;
}

.compare-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for cards within grids */
.tool-card.animate-target:nth-child(1) {
    transition-delay: 0s;
}

.tool-card.animate-target:nth-child(2) {
    transition-delay: 0.1s;
}

.tool-card.animate-target:nth-child(3) {
    transition-delay: 0.2s;
}

.tool-card.animate-target:nth-child(4) {
    transition-delay: 0.3s;
}

.bento-card.animate-target:nth-child(1) {
    transition-delay: 0s;
}

.bento-card.animate-target:nth-child(2) {
    transition-delay: 0.1s;
}

.bento-card.animate-target:nth-child(3) {
    transition-delay: 0.15s;
}

.bento-card.animate-target:nth-child(4) {
    transition-delay: 0.2s;
}

.bento-card.animate-target:nth-child(5) {
    transition-delay: 0.25s;
}

.pricing-card.animate-target:nth-child(1) {
    transition-delay: 0s;
}

.pricing-card.animate-target:nth-child(2) {
    transition-delay: 0.1s;
}

.pricing-card.animate-target:nth-child(3) {
    transition-delay: 0.2s;
}

.pricing-card.animate-target:nth-child(4) {
    transition-delay: 0.3s;
}

.timeline-item.animate-target:nth-child(1) {
    transition-delay: 0s;
}

.timeline-item.animate-target:nth-child(2) {
    transition-delay: 0.12s;
}

.timeline-item.animate-target:nth-child(3) {
    transition-delay: 0.24s;
}

.timeline-item.animate-target:nth-child(4) {
    transition-delay: 0.36s;
}

.timeline-item.animate-target:nth-child(5) {
    transition-delay: 0.48s;
}

.faq-item.animate-target:nth-child(1) {
    transition-delay: 0s;
}

.faq-item.animate-target:nth-child(2) {
    transition-delay: 0.08s;
}

.faq-item.animate-target:nth-child(3) {
    transition-delay: 0.16s;
}

.faq-item.animate-target:nth-child(4) {
    transition-delay: 0.24s;
}

.faq-item.animate-target:nth-child(5) {
    transition-delay: 0.32s;
}

/* Override the timeline CSS animation since we use IntersectionObserver now */
.timeline-item.animate-target {
    animation: none;
}

/* Responsive comparison table */
@media (max-width: 768px) {
    .compare-table {
        border-radius: 14px;
    }

    .compare-table th,
    .compare-table td {
        padding: 12px 14px;
        font-size: 0.8rem;
    }
}