/* ========================================
   HOSHIA — Style Sheet
   ======================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red:        #E11300;
    --red-dark:   #B00F00;
    --red-light:  #FF2200;
    --red-glow:   rgba(225, 19, 0, 0.25);
    --white:      #FFFFFF;
    --off-white:  #F7F7F8;
    --light-gray: #EAEAEA;
    --text-dark:  #0A0A0A;
    --text-body:  #333333;
    --text-muted: #666666;
    --bg-dark:    #080808;
    --shadow:     0 4px 20px rgba(0,0,0,0.07);
    --shadow-lg:  0 10px 40px rgba(0,0,0,0.12);
    --shadow-red: 0 8px 32px rgba(225,19,0,0.3);
    --border:     1px solid #E5E5E5;
    --radius:     12px;
    --radius-lg:  20px;
    --ease:       0.3s ease;
    --font:       'Inter', sans-serif;
    --font-disp:  'Space Grotesk', sans-serif;
    --font-mono:  'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* =================== NAVBAR =================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 72px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition:
        background      0.55s cubic-bezier(0.4, 0, 0.2, 1),
        border-color    0.55s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow      0.55s cubic-bezier(0.4, 0, 0.2, 1),
        backdrop-filter 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: var(--light-gray);
    box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    -webkit-mask-image: url('logohoshia.png');
    mask-image: url('logohoshia.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.nav-logo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -120%;
    width: 55%;
    height: 200%;
    background: linear-gradient(
        105deg,
        rgba(255,255,255,0)   0%,
        rgba(255,255,255,0.7) 50%,
        rgba(255,255,255,0)   100%
    );
    transform: skewX(-18deg);
    pointer-events: none;
}

.nav-logo:hover::after,
.nav-logo:active::after {
    animation: logoShine 0.65s ease-in-out forwards;
}

@keyframes logoShine {
    from { left: -120%; }
    to   { left: 160%; }
}

.logo-img {
    height: 34px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: opacity 0.22s ease;
}

.logo-img-footer {
    height: 38px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition:
        color       0.55s cubic-bezier(0.4, 0, 0.2, 1),
        background  0.3s  ease,
        text-shadow 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:not(.nav-cta):hover {
    color: #fff;
    background: rgba(225,19,0,0.18);
    text-shadow: 0 0 10px rgba(225,19,0,1), 0 0 22px rgba(225,19,0,0.55);
}

.navbar.scrolled .nav-links a:not(.nav-cta) {
    color: var(--text-body);
    text-shadow: none;
}

.navbar.scrolled .nav-links a:not(.nav-cta):hover {
    color: var(--red);
    background: rgba(225,19,0,0.06);
    text-shadow: none;
}

.nav-cta {
    background: var(--red) !important;
    color: #fff !important;
    padding: 9px 20px !important;
}

.nav-cta:hover {
    background: var(--red-dark) !important;
    color: #fff !important;
    box-shadow: var(--shadow-red) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: background 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform var(--ease), opacity var(--ease);
}

.navbar.scrolled .hamburger span {
    background: var(--text-dark);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: var(--border);
    padding: 16px 5%;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-body);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--ease);
}

.mobile-menu a:hover {
    background: rgba(225,19,0,0.06);
    color: var(--red);
}

/* =================== HERO =================== */
#home {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-dark);
}


#canvas-bg {
    position: absolute;
    inset: 0;
    opacity: 0.55;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 5% 140px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(225,19,0,0.12);
    border: 1px solid rgba(225,19,0,0.25);
    color: #FF3300;
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeUp 0.8s ease both;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--red-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-disp);
    font-size: clamp(44px, 7.5vw, 90px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2.5px;
    color: #fff;
    margin-bottom: 24px;
    animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title .accent {
    color: var(--red);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.6);
    max-width: 580px;
    margin-bottom: 40px;
    animation: fadeUp 0.8s 0.2s ease both;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all var(--ease);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--red-dark);
    box-shadow: var(--shadow-red);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all var(--ease);
    border: 2px solid rgba(255,255,255,0.22);
}

.btn-outline:hover {
    border-color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: fadeUp 0.8s 0.5s ease both;
}

.stat-item { display: flex; flex-direction: column; }

.stat-num {
    font-family: var(--font-disp);
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-num span { color: var(--red); }

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-top: 6px;
}

.hero-scroll {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.35);
    font-size: 11px;
    letter-spacing: 1px;
    animation: scrollBounce 2s infinite;
}

.scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
}

/* =================== SHARED SECTION =================== */
.section { padding: 100px 5%; }
.section-alt { background: var(--off-white); }
.section-dark {
    background: var(--bg-dark);
    color: #fff;
}

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head.center .section-subtitle { margin: 0 auto; }
.section-head.center .section-tag { justify-content: center; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
}

.section-tag::before { display: none; }

.section-title {
    font-family: var(--font-disp);
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.section-title.white { color: #fff; }
.section-title .red { color: var(--red); }

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.75;
}

.section-subtitle.muted { color: rgba(255,255,255,0.5); }

/* =================== ABOUT =================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual { position: relative; }

.about-card-main {
    background: #111;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    z-index: 1;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.glow-circle {
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(225,19,0,0.25), transparent 70%);
    pointer-events: none;
}

.code-block {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    line-height: 2;
    position: relative;
    z-index: 1;
}

.code-line { display: flex; }
.c-comment { color: #555; }
.c-kw      { color: #FF3300; }
.c-var     { color: #D8DEE9; }
.c-str     { color: #88C0D0; }
.c-fn      { color: #81A1C1; }
.c-num     { color: #EBCB8B; }

.float-card {
    position: absolute;
    z-index: 10;
    background: #fff;
    border-radius: 14px;
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.float-card-br { bottom: -24px; right: -24px; }
.float-card-tl { top: -24px; left: -24px; }

.float-icon {
    width: 42px; height: 42px;
    background: rgba(225,19,0,0.08);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--red);
    flex-shrink: 0;
}

.float-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.float-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.about-text { }

.about-features {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 46px; height: 46px;
    min-width: 46px;
    background: rgba(225,19,0,0.07);
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    color: var(--red);
}

.feature-text h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    border: var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon-wrap {
    width: 62px; height: 62px;
    background: rgba(225,19,0,0.07);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    color: var(--red);
    transition: background var(--ease), color var(--ease);
}

.service-card:hover .service-icon-wrap {
    background: var(--red);
    color: #fff;
}

.service-card h3 {
    font-family: var(--font-disp);
    font-size: 19px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.service-tags span {
    font-size: 12px;
    background: var(--off-white);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 500;
}

/* =================== TECHNOLOGIES =================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.tech-item {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: var(--border);
    transition: all var(--ease);
    cursor: default;
}

.tech-item:hover {
    background: #fff;
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.tech-logo { display: flex; align-items: center; justify-content: center; }

.tech-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

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

.portfolio-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border);
    transition: all var(--ease);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.portfolio-thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-emoji { font-size: 64px; }

.portfolio-body { padding: 24px; }

.portfolio-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.portfolio-body h3 {
    font-family: var(--font-disp);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.portfolio-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.portfolio-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.portfolio-stack span {
    font-size: 11px;
    font-weight: 600;
    background: rgba(225,19,0,0.07);
    color: var(--red);
    padding: 4px 10px;
    border-radius: 100px;
}

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

.why-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--ease);
}

.why-card:hover {
    background: rgba(225,19,0,0.07);
    border-color: rgba(225,19,0,0.25);
}

.why-num {
    font-family: var(--font-disp);
    font-size: 50px;
    font-weight: 700;
    color: rgba(225,19,0,0.25);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
}

/* =================== TEAM =================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-grid--single {
    grid-template-columns: 320px;
    justify-content: center;
}

.team-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: var(--border);
    transition: all var(--ease);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    background: #fff;
}

.team-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--red);
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-disp);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    border: 4px solid rgba(225,19,0,0.15);
}

.team-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* =================== CONTACT =================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 72px;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--font-disp);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.contact-info > p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-icon {
    width: 48px; height: 48px;
    min-width: 48px;
    background: var(--red);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}

.thumb-icon { display: flex; align-items: center; justify-content: center; }
.thumb-icon svg { opacity: 0.92; }

.contact-detail h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.contact-detail p {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: var(--border);
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: var(--border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--text-dark);
    background: var(--off-white);
    transition: all var(--ease);
    outline: none;
    resize: vertical;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(225,19,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--red-dark);
    box-shadow: var(--shadow-red);
    transform: translateY(-2px);
}

.btn-submit:disabled { opacity: 0.75; cursor: not-allowed; transform: none; }

/* =================== FOOTER =================== */
footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 72px 5% 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    margin-top: 18px;
    line-height: 1.75;
    max-width: 290px;
}

.footer-logo-text { color: #fff !important; }

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.social-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all var(--ease);
}

.social-btn:hover {
    background: var(--red);
    color: #fff;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--ease);
}

.footer-col ul a:hover { color: var(--red); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

.footer-bottom a { color: var(--red); text-decoration: none; }

/* =================== ANIMATIONS =================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.6); opacity: 0.4; }
}

@keyframes revealLine {
    from { text-decoration-color: transparent; }
    to   { text-decoration-color: var(--red); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(10px); }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1200px) {
    .tech-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid     { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .about-grid  { grid-template-columns: 1fr; gap: 60px; }
    .why-grid    { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .nav-links   { display: none; }
    .hamburger   { display: flex; }
    .section     { padding: 72px 5%; }
    .tech-grid   { grid-template-columns: repeat(3, 1fr); }
    .hero-stats  { gap: 32px; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .team-grid      { grid-template-columns: 1fr; }
    .form-row       { grid-template-columns: 1fr; }
    .footer-top     { grid-template-columns: 1fr; gap: 32px; }
    .hero-stats     { flex-direction: column; gap: 20px; }
}

@media (max-width: 400px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
