/* 
   DCRT Design System
   Page Sections: Hero, Features, Pricing, Proof, FAQ, Contact
*/

/* ---------- Section 2: Hero ---------- */
.hero {
    position: relative;
    padding: 10rem 0 8rem 0;
    min-height: 80svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-main);
}

/* Animated Mesh Background */
.hero-animated-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
    animation: slowSpin 60s linear infinite;
}

@keyframes slowSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-glow {
    display: none;
    /* Replaced by animated bg */
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2.5fr 1.3fr;
    gap: 4rem;
    align-items: center;
    max-width: 1300px;
    width: 95vw;
}

.hero-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 3rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 10;
}

.badge-wrapper {
    margin-bottom: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-full);
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 48rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-proof {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    width: 100%;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.proof-icon {
    color: var(--success);
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-proof {
        justify-content: center;
    }

    .hero-ctas {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem 0;
        /* Tighter mobile hero */
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
        /* Shrunk hero title */
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        align-items: center;
        /* Center buttons */
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-proof {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-content {
        padding: 2rem;
        /* Less padding inside hero card */
    }
}

/* ---------- Section 3: Problem -> Solution ---------- */
.problem-solution {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.comparison-card {
    padding: 3rem;
    transition: var(--transition);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, -20%), rgba(255, 255, 255, 0.03), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.card-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
}

.danger-box {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.success-box {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comparison-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.5;
}

.problem-card .comparison-list li::before {
    content: '×';
    position: absolute;
    left: 0;
    top: -2px;
    color: #ef4444;
    font-size: 1.5rem;
    font-weight: 700;
}

.solution-card .comparison-list li {
    color: var(--text-primary);
}

.solution-card .comparison-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-size: 1.2rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .comparison-card {
        padding: 2rem;
        /* Less internal padding */
    }

    .card-header h3 {
        font-size: 1.25rem;
    }

    .comparison-list li {
        font-size: 0.95rem;
        /* Smaller list text */
    }
}

/* ---------- Section 4: How It Works ---------- */
.how-it-works {
    position: relative;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 4rem;
    position: relative;
    gap: 2rem;
}

.step-card {
    flex: 1;
    padding: 2.5rem 2rem;
    position: relative;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(203, 163, 88, 0.4);
}

.step-connector {
    flex: 0 0 40px;
    height: 2px;
    background: var(--border-color);
    margin-top: 4rem;
    position: relative;
}

.step-connector::after {
    content: '>';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--border-color);
    font-family: monospace;
    font-weight: bold;
}

@media (max-width: 900px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        width: 100%;
        max-width: 400px;
    }

    .step-connector {
        display: none;
    }
}

/* ---------- Section 5: Features ---------- */
.features {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, -20%), rgba(56, 189, 248, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(56, 189, 248, 0.15);
    box-shadow: inset 0 1px 0 rgba(56, 189, 248, 0.15), 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(96, 165, 250, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Enforce 2 columns strictly on small mobile per user request */
        gap: 0.75rem;
    }

    .feature-card {
        padding: 1.25rem 1rem;
        /* Shrink padding significantly to fit 2 on screen */
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .feature-card p {
        font-size: 0.8rem;
    }
}

/* ---------- Section 6: Proof ---------- */
.proof {
    position: relative;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
    padding: 10rem 0;
}

.proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.proof-content {
    padding: 3rem;
}

.proof-content h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.proof-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.proof-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.proof-list li strong {
    color: var(--text-primary);
}

.proof-list .proof-icon {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.proof-visuals {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.screenshot-wrapper {
    border-radius: var(--radius-lg);
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    transition: var(--transition);
}

.screenshot-wrapper:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 60px -12px rgba(0, 0, 0, 0.9);
}

.screenshot-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.screenshot-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    background: #ff5f56;
}

.screenshot-header .dot:nth-child(2) {
    background: #ffbd2e;
}

.screenshot-header .dot:nth-child(3) {
    background: #27c93f;
}

.screenshot-header .title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.screenshot-placeholder {
    height: 200px;
    background: rgba(10, 14, 23, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 1rem;
    text-align: center;
    /* Prevent text overflow in terminal views */
    word-break: break-all;
    overflow-wrap: break-word;
}

.mt-4 {
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .proof-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .proof-content {
        padding: 1rem;
        /* Reduce padding to stop overflow */
    }

    .proof-content h3 {
        font-size: 1.5rem;
        /* Shrink title */
        margin-bottom: 1.5rem;
    }

    .screenshot-placeholder {
        height: auto;
        /* Allow height to grow based on wrapped text instead of fixed */
        min-height: 150px;
        font-size: 0.7rem;
        /* Shrink monospace text drastically so it fits */
    }
}

/* ---------- Section 7: Pricing ---------- */
.pricing {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-main) 100%);
    position: relative;
    padding-top: 6rem;
    padding-bottom: 8rem;
}

.premium-tier {
    max-width: 500px;
    /* Even smaller width */
    padding: 0;
    /* Remove internal padding, handled by inner divs */
    border-top: 4px solid var(--accent-primary);
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.05), transparent 50%), var(--bg-tertiary);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-tier::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.5;
}

.pricing-header-new {
    padding: 2rem 2rem 1.75rem 2rem;
    /* Shrunk padding */
    position: relative;
}

.tier-badge {
    display: inline-block;
    padding: 0.25rem 0.875rem;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-full);
    color: var(--accent-primary);
    font-size: 0.7rem;
    /* Shrunk font */
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.tier-title {
    font-size: 1.75rem;
    /* Shrunk font */
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.tier-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    /* Shrunk font */
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 1.75rem;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    /* Shrunk gap */
}

.price-amount {
    font-size: 2.75rem;
    /* Shrunk font */
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.price-meta {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.price-period {
    font-size: 1rem;
    /* Shrunk font */
    font-weight: 600;
    color: var(--text-secondary);
}

.price-terms {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    width: 100%;
}

.pricing-body-new {
    padding: 2rem;
    /* Shrunk padding */
    background: rgba(0, 0, 0, 0.2);
    /* Slightly darker bottom half */
}

.features-heading {
    font-size: 1rem;
    /* Shrunk font */
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.pricing-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Switch to 2 columns for smaller box half side by side */
    gap: 0.875rem;
    /* Shrunk gap */
    margin-bottom: 2rem;
}

.pricing-features-grid li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    /* Shrunk font */
}

.icon-circle {
    width: 20px;
    /* Shrunk icon */
    height: 20px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    /* Success green bg */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-icon {
    color: var(--success);
}

.pricing-action-new {
    text-align: center;
}

.btn-glow {
    width: 100%;
    padding: 0.875rem 1.25rem;
    /* Shrunk button padding */
    font-size: 0.95rem;
    /* Shrunk font */
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    /* Extra glowing shadow for the main CTA */
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {

    .pricing-header-new,
    .pricing-body-new {
        padding: 1.5rem;
    }

    .tier-title {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2.25rem;
    }

    .pricing-features-grid {
        grid-template-columns: 1fr;
        /* Stack pricing features on tiny screens */
    }
}

/* ---------- Section 8: FAQ ---------- */
.faq {
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Switch FAQ to 2 columns globally */
    gap: 1.5rem;
    align-items: start;
    /* Prevents rows from stretching when accordion opens */
}

@media (max-width: 768px) {
    .faq-accordion {
        gap: 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
        /* Shrink font so 2 cols fit */
    }

    .faq-answer-inner {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.875rem;
    }
}

.faq-item {
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    color: var(--accent-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- Section 9: Footer ---------- */
footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem 0;
    background: var(--bg-tertiary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.footer-brand .footer-logo .dot {
    color: var(--accent-primary);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
    display: inline-block;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ---------- Section 9: Contact ---------- */
.contact {
    background: var(--bg-main);
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-cta h2 {
    margin-bottom: 1.5rem;
}

.contact-cta .subtitle {
    margin-bottom: 3rem;
}

.cta-box {
    padding: 3rem 2rem;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.6) 0%, rgba(2, 6, 23, 0.9) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.contact-form-wrapper {
    padding: 3rem;
    background: var(--bg-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
    background: rgba(0, 0, 0, 0.2);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Hero Terminal Mockup ---------- */
.terminal-mockup {
    border-radius: var(--radius-lg);
    background: #0d1117;
    border: 1px solid var(--border-color);
    overflow: hidden;
    font-family: 'Consolas', 'Courier New', monospace;
    box-shadow: var(--shadow-xl);
    text-align: left;
}

.terminal-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    background: #ff5f56;
}

.terminal-header .dot:nth-child(2) {
    background: #ffbd2e;
}

.terminal-header .dot:nth-child(3) {
    background: #27c93f;
}

.terminal-header .title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-sans);
}

.terminal-body {
    padding: 1.5rem;
    color: #c9d1d9;
    font-size: 0.9rem;
    line-height: 1.6;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.terminal-line {
    white-space: pre-wrap;
    word-break: break-all;
}

.term-prompt {
    color: #8b949e;
    margin-right: 8px;
}

.term-cmd {
    color: #cbd5e1;
}

.term-info {
    color: #8b949e;
}

.term-highlight {
    color: var(--text-primary);
}

.term-success {
    color: #3fb950;
    font-weight: bold;
}

/* Blink cursor animation */
.cursor-blink::after {
    content: '_';
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


/* ----- Responsive Hero Section ----- */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-proof {
        justify-content: center;
    }
}