@charset "UTF-8";

:root {
    --bg-base: #0a0e1a;
    --bg-surface: #111827;
    --bg-card: rgba(17, 24, 39, 0.85);
    --border: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(99, 102, 241, 0.5);

    /* Vibrant Color Accents */
    --primary: #4f46e5;
    --primary-bright: #6366f1;
    --cyan: #06b6d4;
    --emerald: #10b981;
    --amber: #f59e0b;
    --purple: #8b5cf6;
    --pink: #ec4899;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(79, 70, 229, 0.25), transparent 40%),
        radial-gradient(circle at 85% 25%, rgba(6, 182, 212, 0.2), transparent 40%),
        radial-gradient(circle at 50% 75%, rgba(139, 92, 246, 0.15), transparent 45%),
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    min-height: 100vh;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(10, 14, 26, 0.82);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; font-weight: 800; font-size: 1.25rem; color: #fff; }
.logo-box {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--cyan), var(--primary-bright), var(--purple));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #fff; font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.8rem 1.7rem; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 600;
    text-decoration: none; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--primary-bright) 50%, var(--purple) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(6, 182, 212, 0.5);
}
.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}
.nav-btn { padding: 0.55rem 1.25rem; font-size: 0.9rem; }

/* Hero */
.hero { padding: 5.5rem 0 2rem; text-align: center; }
.status-pill {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.4rem 1.2rem;
    background: rgba(99, 102, 241, 0.12); border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 999px; font-size: 0.825rem; color: #a5b4fc; font-weight: 600; margin-bottom: 1.5rem;
}
.pulse-dot { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 10px var(--cyan); }

.hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    max-width: 980px;
    margin: 0 auto 1.3rem;
}
.gradient-text-1 {
    background: linear-gradient(135deg, #38bdf8, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient-text-2 {
    background: linear-gradient(135deg, #f472b6, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 720px; margin: 0 auto 2.4rem; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3.5rem; }

/* Hero Visual Browser Mockup */
.hero-browser-mockup {
    max-width: 1040px;
    margin: 0 auto 4rem;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(99, 102, 241, 0.25);
    text-align: left;
}
.browser-bar {
    background: #1e293b;
    padding: 0.75rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.browser-url {
    background: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 0.25rem 1rem;
    font-size: 0.78rem;
    color: var(--text-dim);
    width: 60%;
    font-family: 'JetBrains Mono', monospace;
}
.browser-img-holder {
    position: relative;
    background: #080c14;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.browser-img-holder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Trust Strip */
.trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.8rem 0;
    background: rgba(17, 24, 39, 0.4);
    margin-bottom: 5rem;
}
.trust-label { text-align: center; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-dim); margin-bottom: 1.2rem; font-weight: 700; }
.trust-grid { display: flex; justify-content: center; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.trust-item {
    font-size: 0.95rem; font-weight: 700; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem;
}

/* Section Titles */
.section-tag {
    display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--cyan);
    text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 0.5rem;
}
.section-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 3rem; text-align: center; }

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-bottom: 6rem;
}
.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}
.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.col-7 { grid-column: span 7 !important; }
.col-5 { grid-column: span 5 !important; }
.col-6 { grid-column: span 6 !important; }

.bento-card h3 { font-size: 1.35rem; font-weight: 700; margin: 0.4rem 0 0.6rem; color: #fff; }
.bento-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* Bento Micro Components */
.terminal-card {
    background: #060911;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
}
.search-widget {
    background: #090d16;
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.9rem;
}
.search-input-mock {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}
.search-tags { display: flex; gap: 0.4rem; }
.search-tags span {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
}
.security-widget {
    background: #08101a;
    border: 1px dashed rgba(16, 185, 129, 0.4);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.1rem;
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}
.uptime-widget {
    background: #090d16;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Featured Visual Work / Portfolio Showcase */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
}
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.project-img-holder {
    width: 100%;
    height: 240px;
    background: #0e1524;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.project-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.project-card:hover .project-img-holder img {
    transform: scale(1.03);
}
.project-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}
.project-tag { font-size: 0.75rem; font-weight: 700; color: #38bdf8; text-transform: uppercase; }
.project-card h3 { font-size: 1.35rem; margin: 0.5rem 0 0.8rem; color: #fff; }
.project-metric {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(6, 182, 212, 0.2)), var(--bg-surface);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 4.5rem 2rem;
    text-align: center;
    margin-bottom: 6rem;
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.2);
}
.cta-banner h2 { font-size: 2.3rem; font-weight: 800; margin-bottom: 1rem; }
.cta-banner p { color: var(--text-muted); max-width: 600px; margin: 0 auto 2.2rem; font-size: 1.1rem; }

/* Footer */
footer {
    border-top: 1px solid var(--border);
    background: #060911;
    padding: 4.5rem 0 2.2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 2rem; margin-bottom: 3.5rem; }
.footer-grid h4 { font-size: 0.95rem; color: #fff; margin-bottom: 1.2rem; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-grid ul a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-grid ul a:hover { color: #38bdf8; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .col-7, .col-5, .col-6 { grid-column: span 12 !important; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .hero-actions { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ==========================================================================
   SERVICES PAGE ENHANCED STYLES (ALTERNATING RHYTHM & EXPANDED WIDGETS)
   ========================================================================== */

.service-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
    backdrop-filter: blur(14px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Alternating card layout */
.service-card:nth-child(even) {
    grid-template-columns: 0.85fr 1.15fr;
}
.service-card:nth-child(even) .service-content {
    order: 2;
}
.service-card:nth-child(even) .service-visual {
    order: 1;
}

/* Subtle top glow line per card type */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.service-card.card-cyan:hover {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 20px 45px rgba(6, 182, 212, 0.12);
}
.service-card.card-purple:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 45px rgba(139, 92, 246, 0.12);
}
.service-card.card-emerald:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 20px 45px rgba(16, 185, 129, 0.12);
}
.service-card.card-amber:hover {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 20px 45px rgba(245, 158, 11, 0.12);
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid;
    margin-bottom: 1.2rem;
}

.service-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.25;
}

.service-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.feature-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-checklist li {
    font-size: 0.92rem;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-checklist li span.check-icon {
    font-weight: 800;
    font-size: 0.95rem;
}

/* Expanded Visual Panels */
.service-visual {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.visual-panel-box {
    width: 100%;
    background: #090d16;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.visual-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Tech Matrix */
.tech-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.matrix-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.matrix-box:hover {
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-3px);
}

.matrix-box h4 {
    color: var(--cyan);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.matrix-box p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .tech-matrix { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .tech-matrix { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
    .service-card,
    .service-card:nth-child(even) {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    .service-card:nth-child(even) .service-content {
        order: 1;
    }
    .service-card:nth-child(even) .service-visual {
        order: 2;
    }
}

/* ==========================================================================
   PORTFOLIO / CASE STUDIES STYLES
   ========================================================================== */

.case-study-list {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    backdrop-filter: blur(14px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.case-img-wrap {
    background: #080c14;
    border-right: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.case-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.case-card:hover .case-img-wrap img {
    transform: scale(1.03);
}

.case-details {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-badge-row {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.case-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid;
}

.case-details h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.25;
}

.case-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.8rem;
}

.case-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.8rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.metric-val {
    font-size: 1.25rem;
    font-weight: 800;
}

.metric-lbl {
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

.tech-stack-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-stack-pills span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
}

@media (max-width: 960px) {
    .case-card {
        grid-template-columns: 1fr;
    }
    .case-img-wrap {
        border-right: none;
        border-bottom: 1px solid var(--border);
        min-height: 260px;
    }
    .case-details {
        padding: 2rem;
    }
}

/* ==========================================================================
   CONTACT PAGE & FORM STYLES
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-panel h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-top: 0.4rem;
    color: #fff;
}

.channel-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.channel-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.3rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.channel-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
}

.channel-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.channel-title {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.channel-link {
    color: #fff;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.channel-link:hover {
    color: var(--cyan);
}

.office-tag {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.2rem;
    font-size: 0.85rem;
    color: #34d399;
    font-weight: 600;
}

/* Form Styles */
.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #cbd5e1;
}

.required {
    color: #f43f5e;
}

.form-control {
    background: #080c16;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    font-family: inherit;
    font-size: 0.92rem;
    color: #fff;
    outline: none;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
    background: #0b1120;
}

select.form-control {
    cursor: pointer;
}

select.form-control option {
    background: #0f172a;
    color: #fff;
}

textarea.form-control {
    resize: vertical;
}

.alert {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.alert-error {
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.35);
    color: #fda4af;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-panel {
        padding: 2rem;
    }
}