/* ============================================================
   ZYLOS STUDIOS — Premium Agency CSS
   Color Theme: Electric Blue / Violet / Deep Dark
   ============================================================ */

:root {
    --bg-color: #04040d;
    --bg-secondary: #070714;
    --text-color: #f0f0f8;
    --accent-color: #4F6EF7;
    --accent-secondary: #8B5CF6;
    --accent-glow: rgba(79, 110, 247, 0.35);
    --hover-color: #ffffff;
    --secondary-text: #7878a0;
    --border-color: rgba(255, 255, 255, 0.07);
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-bg: rgba(10, 10, 30, 0.6);

    --font-display: 'Syne', sans-serif;
    --font-body: 'Manrope', sans-serif;

    --container-width: 90%;
    --max-width: 1400px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100vw;
    position: relative;
    cursor: none;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 1;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: normal;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px var(--accent-color), 0 0 24px var(--accent-glow);
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(79, 110, 247, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.95;
}

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

.container {
    width: var(--container-width);
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(4, 4, 13, 0.9), transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s;
}

header.scrolled {
    border-color: var(--border-color);
    background: rgba(4, 4, 13, 0.85);
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 40%, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .nav-link { display: block; }
}

.btn-primary {
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(79, 110, 247, 0.4);
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: all 0.35s ease;
    background: transparent;
    color: var(--text-color);
    margin-right: 1rem;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-glow);
}

.menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: none;
    mix-blend-mode: normal;
    z-index: 200;
}

.menu-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 25px;
}

.bar {
    width: 100%;
    height: 1px;
    background: #fff;
    transition: all 0.3s ease;
}

.menu-toggle:hover .bar:first-child { transform: translateY(-2px); }
.menu-toggle:hover .bar:last-child  { transform: translateY(2px);  }

/* ============================================================
   MENU OVERLAY
   ============================================================ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #04040d;
    z-index: 150;
    display: flex;
    flex-direction: column;
    padding: 2rem 5%;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.menu-overlay.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: auto;
}

.menu-logo { display: flex; align-items: center; }

.nav-label {
    font-size: 0.85rem;
    color: var(--secondary-text);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.menu-close {
    width: 40px;
    height: 40px;
    background: rgba(79, 110, 247, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: background 0.3s;
}

.menu-close:hover { background: var(--accent-color); }

.menu-center {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1vh 0;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}

.menu-link {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
    color: var(--text-color);
    text-transform: none;
    position: relative;
    line-height: 1.1;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    width: fit-content;
    display: flex;
    align-items: center;
}

.menu-link::before,
.menu-link::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    transform: translateY(-50%) scaleX(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-link::before {
    left: -80px;
    transform-origin: right;
}

.menu-link::after {
    right: -80px;
    transform-origin: left;
}

.menu-link:hover {
    color: var(--accent-color);
}

.menu-link:hover::before,
.menu-link:hover::after {
    transform: translateY(-50%) scaleX(1);
}

.m-sup {
    font-size: 1rem;
    vertical-align: super;
    margin-left: 0.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    opacity: 0.7;
}

.menu-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    width: 100%;
    flex-wrap: wrap;
    gap: 2rem;
}

.m-badge    { display: flex; align-items: center; gap: 1rem; opacity: 0; }
.badge-circle {
    width: 50px; height: 50px;
    border: 2px solid rgba(79,110,247,0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.5rem;
    color: var(--accent-color);
}

.badge-text { font-size: 0.8rem; display: flex; flex-direction: column; }

.m-info {
    text-align: right;
    display: flex; flex-direction: column;
    align-items: flex-end; gap: 1.5rem; opacity: 0;
}

.m-contact h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.email-link { font-size: 0.9rem; text-decoration: underline; color: var(--secondary-text); }
.m-legal { font-size: 0.8rem; color: var(--secondary-text); display: flex; flex-direction: column; gap: 0.2rem; }

.social-circles { display: flex; gap: 0.5rem; }
.s-circle {
    width: 35px; height: 35px;
    border: 1px solid rgba(79,110,247,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.s-circle:hover { background: var(--accent-color); border-color: var(--accent-color); }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 99999;
    background: #04040d;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 2rem;
    pointer-events: none;
}

.loader-counter {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    color: var(--text-color);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #fff 30%, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-blind {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #04040d;
    z-index: 1;
    transform-origin: top;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 15vh 0 5vh;
    position: relative;
    overflow: hidden;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Mesh gradient background */
.hero::before {
    content: '';
    position: absolute;
    width: 900px; height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 110, 247, 0.12) 0%, transparent 70%);
    top: -200px; right: -300px;
    pointer-events: none;
    animation: pulse-orb 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    bottom: -100px; left: -100px;
    pointer-events: none;
    animation: pulse-orb 10s ease-in-out infinite 2s;
}

@keyframes pulse-orb {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.7; }
    50%       { transform: scale(1.15) translateY(-20px); opacity: 1; }
}

.hero-logo-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.hero-logo-glow {
    position: absolute;
    width: 1000px;
    height: 1000px;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(120px);
    background: radial-gradient(circle, #3c49dd99, transparent 70%);
}

.hero-logo-silhouette {
    width: 900px;
    height: 900px;
    object-fit: contain;
    opacity: 0.04;
    user-select: none;
    filter: invert(1) brightness(2);
}

.hero-content {
    width: var(--container-width);
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.reveal-text {
    font-size: clamp(2.1rem, 6.6vw, 4.8rem);
    letter-spacing: -0.04em;
    line-height: 0.94;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0;
    transform: translateY(50px);
    background: linear-gradient(145deg, #ffffff 50%, rgba(79,110,247,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.hero-sub {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero-sub {
        position: absolute;
        bottom: 1rem;
        right: 0;
        align-items: flex-end;
    }
}

.reveal-text-sm {
    text-align: left;
    font-size: 1rem;
    color: var(--secondary-text);
    max-width: 350px;
    opacity: 0;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .reveal-text-sm { text-align: right; }
}

.scroll-indicator {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    color: var(--secondary-text);
}

.scroll-indicator .line {
    width: 40px; height: 1px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    animation: line-pulse 2s ease-in-out infinite;
}

@keyframes line-pulse {
    0%, 100% { width: 40px; opacity: 0.6; }
    50%       { width: 70px; opacity: 1;   }
}
/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    padding: 15vh 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.about-header { margin-bottom: 5rem; }

.section-label {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.about-title {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--text-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}

.about-description {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: var(--secondary-text);
    margin-bottom: 4rem;
    max-width: 600px;
}

.highlight {
    color: var(--text-color);
    font-weight: 600;
    background: linear-gradient(135deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats Cards */
.stats-grid-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .stats-grid-cards { grid-template-columns: 1fr 1fr; }
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(79,110,247,0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-card:hover {
    background: rgba(79, 110, 247, 0.05);
    border-color: rgba(79, 110, 247, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(79,110,247,0.1);
}
.stat-card:hover::before { opacity: 1; }

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 40%, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--secondary-text);
    line-height: 1.5;
    display: block;
}

/* Process Wheel */
.about-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-wheel-container {
    position: relative;
    width: 500px; height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wheel-center {
    width: 180px; height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(79,110,247,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    background: var(--bg-color);
    box-shadow: 0 0 40px rgba(79,110,247,0.15), inset 0 0 30px rgba(79,110,247,0.05);
}

.wheel-center h3 {
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--text-color);
    text-transform: uppercase;
}

.wheel-arc {
    position: absolute;
    width: 100%; height: 100%;
    opacity: 0.15;
    border-radius: 50%;
    border: 1px dashed var(--accent-color);
    animation: rotateArc 20s linear infinite;
    z-index: 1;
}

@keyframes rotateArc {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.wheel-step {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    --orbit-radius: 0px;
    animation: orbit 20s linear infinite;
}

.step-1 { animation-delay: 0s; }
.step-2 { animation-delay: -5s; }
.step-3 { animation-delay: -10s; }
.step-4 { animation-delay: -15s; }

.step-icon {
    position: absolute;
    top: -40px; left: -40px;
    width: 80px; height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(79,110,247,0.2);
    z-index: 2;
}

.step-icon svg { width: 36px; height: 36px; }
.step-line { display: none; }

.step-content {
    position: absolute;
    left: 55px; top: -10px;
    width: max-content;
    text-align: left;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: rgba(4, 4, 13, 0.9);
    backdrop-filter: blur(12px);
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid rgba(79,110,247,0.25);
    box-shadow: 0 4px 24px rgba(0,0,0,0.6);
    z-index: 10;
}

.wheel-step:hover .step-content {
    opacity: 1;
    transform: translateX(0);
}

.process-wheel-container:has(.wheel-step:hover) .wheel-step {
    animation-play-state: paused;
}

.step-content h4 {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.step-content p {
    font-size: 0.75rem;
    color: var(--secondary-text);
    line-height: 1.2;
}

@keyframes orbit {
    0%   { transform: rotate(0deg) translateY(calc(var(--orbit-radius) * -1)) rotate(0deg); }
    100% { transform: rotate(360deg) translateY(calc(var(--orbit-radius) * -1)) rotate(-360deg); }
}

@media (max-width: 991px) {
    .process-wheel-container { transform: scale(0.6); }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
    padding: 10vh 0;
    background: var(--bg-color);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-secondary), transparent);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
}

.year {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-text);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 10px;
    display: inline-block;
}

.services-list-container {
    position: relative;
    width: 100%;
    margin-top: 4rem;
}

.interactive-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid var(--border-color);
}

.interactive-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.35s ease;
    cursor: none;
    position: relative;
    overflow: hidden;
}

.interactive-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(79,110,247,0.06), transparent);
    transition: width 0.5s ease;
}

.interactive-item:hover { padding-left: 4rem; padding-right: 4rem; }
.interactive-item:hover::before { width: 100%; }

.item-num {
    font-size: 0.9rem;
    color: var(--secondary-text);
    width: 60px;
    font-family: var(--font-display);
}

.item-name {
    flex: 1;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--secondary-text);
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.interactive-item:hover .item-name {
    color: var(--text-color);
    -webkit-text-stroke: 1px rgba(79,110,247,0.4);
}

.item-detail {
    font-size: 1rem;
    color: var(--accent-color);
    margin-right: 3rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .interactive-item:hover .item-detail { opacity: 1; transform: translateX(0); }
}

.item-arrow {
    color: var(--text-color);
    opacity: 0.3;
    transform: rotate(-45deg);
    transition: all 0.3s ease;
}

.interactive-item:hover .item-arrow {
    opacity: 1;
    color: var(--accent-color);
    transform: rotate(0) scale(1.2);
    filter: drop-shadow(0 0 6px var(--accent-color));
}

/* Floating Preview Image */
.service-preview {
    position: fixed;
    top: 0; left: 0;
    width: 400px; height: 300px;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.preview-img-wrapper {
    width: 100%; height: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(79,110,247,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 30px rgba(79,110,247,0.15);
}

.preview-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.industry-card,.industry-card.bg-card,.tags,.service-head,.service-body,.service-icon { display: none; }

/* ============================================================
   WORKFLOW SECTION
   ============================================================ */
.workflow-section {
    background: linear-gradient(135deg, #0e0e2e 0%, #0a0a20 50%, #070714 100%);
    padding: 15vh 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.workflow-section::before {
    content: '';
    position: absolute;
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,110,247,0.08) 0%, transparent 65%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.center-align {
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.light-border { border-color: rgba(79,110,247,0.4) !important; color: var(--accent-color) !important; }
h2.light-text { color: #fff; }

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

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

.workflow-card {
    background: rgba(255,255,255,0.02);
    padding: 3rem 2rem;
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(79,110,247,0.1);
    position: relative;
    overflow: hidden;
    cursor: default;
    backdrop-filter: blur(10px);
}

.workflow-card::before {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,110,247,0.8), transparent);
    transition: left 0.65s ease;
}

.workflow-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 1px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.workflow-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79,110,247,0.3);
    box-shadow: 0 20px 50px rgba(79,110,247,0.12), 0 4px 20px rgba(0,0,0,0.3);
}
.workflow-card:hover::before { left: 160%; }
.workflow-card:hover::after  { width: 100%; }

.w-icon {
    width: 80px; height: 80px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconFloat 3s ease-in-out infinite;
    transition: filter 0.3s ease, transform 0.3s ease;
    position: relative;
}

.w-icon::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,110,247,0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.workflow-card:hover .w-icon::before { opacity: 1; }
.workflow-card:hover .w-icon { filter: drop-shadow(0 0 10px currentColor); animation-play-state: paused; transform: scale(1.1); }
.w-icon svg { width: 60px; height: 60px; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

.workflow-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.workflow-card p {
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.7;
    transition: color 0.3s ease;
}

.workflow-card:hover h3 { color: #fff; }
.workflow-card:hover p  { color: rgba(255,255,255,0.65); }

/* ============================================================
   INDUSTRIES SECTION
   ============================================================ */
.industries-section {
    padding: 15vh 0;
    background: var(--bg-color);
    position: relative;
    z-index: 10;
}

.industries-accordion {
    display: flex;
    height: 60vh;
    min-height: 500px;
    width: 100%;
    margin-top: 4rem;
    gap: 1px;
    background: rgba(79,110,247,0.1);
    border-radius: 12px;
    overflow: hidden;
}

.acc-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: none;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    border-right: 1px solid rgba(79,110,247,0.1);
}

.acc-item:last-child { border-right: none; }
.acc-item:hover { flex: 3; }

.acc-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.15;
    transition: opacity 0.5s ease, transform 0.6s ease;
    filter: grayscale(100%);
    z-index: 1;
}

.acc-item:hover .acc-bg {
    opacity: 0.55;
    transform: scale(1.05);
    filter: grayscale(0%);
}

.acc-content {
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.acc-num {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.acc-title {
    font-size: 1.5rem;
    color: var(--text-color);
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    transition: all 0.5s ease;
}

.acc-item:hover .acc-title {
    writing-mode: horizontal-tb;
    transform: rotate(0);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .acc-title { writing-mode: horizontal-tb; transform: rotate(0); font-size: 2rem; }
}

.acc-hover-content {
    position: relative;
    z-index: 2;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.acc-item:hover .acc-hover-content { height: auto; opacity: 1; }

/* ============================================================
   CLIENTELE SECTION
   ============================================================ */
.clientele-section {
    background: linear-gradient(135deg, #0e0e2e 0%, #0a0a1a 100%);
    padding: 12vh 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.clientele-section::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
    top: -100px; right: -100px;
    pointer-events: none;
}

.clientele-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 992px) { .clientele-container { grid-template-columns: 1fr; gap: 3rem; } }

.clientele-text h2.light-text {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.clientele-desc p {
    color: rgba(240,240,248,0.7);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.clientele-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 600px) { .clientele-grid { grid-template-columns: 1fr; } }

.client-card {
    background: rgba(255,255,255,0.03);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(79,110,247,0.1);
    position: relative;
    overflow: hidden;
    cursor: default;
    backdrop-filter: blur(8px);
}

.client-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(139,92,246,0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.client-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-secondary), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.client-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139,92,246,0.3);
    box-shadow: 0 20px 40px rgba(139,92,246,0.12);
}
.client-card:hover::before { opacity: 1; }
.client-card:hover::after  { transform: scaleX(1); }

.c-icon {
    width: 60px; height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconFloat 3.5s ease-in-out infinite;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.client-card:hover .c-icon {
    filter: drop-shadow(0 0 14px currentColor);
    animation-play-state: paused;
    transform: scale(1.12);
}

.c-icon svg { width: 48px; height: 48px; }

.client-card h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.client-card:hover h3 { color: #fff; }

/* ============================================================
   WORK / PROJECTS SECTION
   ============================================================ */
.work-section {
    padding: 10vh 0;
    background: var(--bg-secondary);
    position: relative;
}

.work-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .work-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.project-card {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #0a0a20;
    border-radius: 12px;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px solid rgba(79,110,247,0);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    z-index: 2;
}

.project-card:hover .project-image::after {
    border-color: rgba(79,110,247,0.4);
    box-shadow: inset 0 0 30px rgba(79,110,247,0.08);
}

.project-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: left;
    transition: transform 0.8s ease;
    filter: grayscale(80%) brightness(0.85);
}

.project-card:hover .project-image img {
    transform: scale(1.06);
    filter: grayscale(0%) brightness(1);
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4,4,13,0.7) 0%, transparent 60%);
    z-index: 1;
    transition: opacity 0.4s;
}

.project-card:hover .img-overlay { opacity: 0.5; }

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 0.5rem;
}

.info-left h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    background: linear-gradient(135deg, #fff, rgba(79,110,247,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.role {
    color: var(--accent-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.info-right p {
    color: var(--secondary-text);
    font-size: 0.85rem;
    max-width: 200px;
    text-align: right;
    line-height: 1.5;
}

.project-tags { margin-top: 0.8rem; gap: 0.5rem; }

.project-tags li {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(79,110,247,0.2);
    border-radius: 50px;
    color: var(--secondary-text);
    list-style: none;
    display: inline-block;
}

ul.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
    padding: 10vh 0;
    text-align: center;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;

}

.testimonials-section::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,110,247,0.07) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 8rem;
    line-height: 0.6;
    color: transparent;
    -webkit-text-stroke: 1px rgba(79,110,247,0.25);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    line-height: 1.5;
    margin: 1.5rem 0 2.5rem;
    color: var(--text-color);
    font-style: italic;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.client-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}

.client-role {
    font-size: 0.85rem;
    color: var(--secondary-text);
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
    background: linear-gradient(135deg, #0a0a28 0%, #080820 100%);
    padding: 10vh 0;
    text-align: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--accent-secondary), transparent);
}

.newsletter-header { margin-bottom: 3.5rem; }

.newsletter-label {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.newsletter-header h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.input-wrap { flex: 1; min-width: 220px; }

.newsletter-form input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(79,110,247,0.2);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(79,110,247,0.12);
}

.btn-subscribe {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 0 2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    height: 56px;
    letter-spacing: 0.05em;
}

.btn-subscribe:hover {
    background: #6b84ff;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    font-size: 0.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 10vh 0 5vh;
    background: #02020a;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,110,247,0.4), transparent);
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 6rem;
}

.footer-cta h2 {
    font-size: 1rem;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    letter-spacing: 0.2em;
}

.giant-link {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 6vw, 6rem);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.25);
    transition: -webkit-text-stroke-color 0.4s, color 0.4s, text-shadow 0.4s;
    display: inline-block;
    line-height: 1;
    max-width: 100%;
}

.giant-link:hover {
    -webkit-text-stroke-color: transparent;
    color: var(--accent-color);
    text-shadow: 0 0 60px #4f6ef766, 0 0 120px rgba(79,110,247,0.15);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-text);
}

@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.socials { display: flex; gap: 1.5rem; }
.socials a { color: var(--secondary-text); transition: color 0.3s; }
.socials a:hover { color: var(--accent-color); }

/* ============================================================
   CLIENT MODAL
   ============================================================ */
.client-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(4, 4, 13, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.client-modal.active { opacity: 1; pointer-events: all; }

.modal-content {
    background: rgba(10,10,30,0.95);
    border: 1px solid rgba(79,110,247,0.2);
    width: 90%;
    max-width: 600px;
    padding: 3rem;
    border-radius: 24px;
    transform: translateY(50px);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 40px rgba(79,110,247,0.08);
}

.client-modal.active .modal-content { transform: translateY(0); }

.modal-close {
    position: absolute;
    top: 10px; right: 10px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #0a0a20;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.modal-close:hover { background: var(--accent-color); border-color: var(--accent-color); }

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-header p { color: var(--secondary-text); font-size: 0.9rem; }

.client-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.8rem;
    text-transform: uppercase;
    color: var(--secondary-text);
    letter-spacing: 0.08em;
    font-weight: 700;
}

.form-group input, .form-group textarea {
    background: #4f6ef70a;
    border: 1px solid rgba(79,110,247,0.15);
    padding: 1rem;
    font-family: var(--font-body);
    color: var(--text-color);
    font-size: 1rem;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(79,110,247,0.12);
}

.btn-submit {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    letter-spacing: 0.05em;
}

.btn-submit:hover {
    box-shadow: 0 0 30px rgba(79,110,247,0.4);
    transform: translateY(-2px);
}

.btn-arrow {
    width: 30px; height: 30px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .modal-content { padding: 2rem; }
}

/* ============================================================
   SECTION-TAG UTILITY
   ============================================================ */
.section-tag-light {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* ============================================================
   SCROLL-TRIGGERED FADE-IN UTILITY
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   ANIMATED GRADIENT BORDER UTILITY
   ============================================================ */
@keyframes border-dance {
    0%   { background-position: 0% 50%;   }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%;   }
}

/* ============================================================
   FLOATING TECH BADGE (Hero Area)
   ============================================================ */
.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(79,110,247,0.1);
    border: 1px solid rgba(79,110,247,0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: badge-float 3s ease-in-out infinite;
}

.tech-badge span.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
    animation: blink 1.5s infinite;
}

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

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* ============================================================
   RESPONSIVE FIXES
   ============================================================ */
@media (max-width: 768px) {
    header { padding: 1rem 5%; }
    .hero { padding: 12vh 0 4vh; }
    .about-section, .services-section, .workflow-section, .industries-section, .clientele-section, .work-section { padding: 8vh 0; }
    .industries-accordion { flex-direction: column; height: auto; }
    .acc-item { min-height: 120px; }
    .giant-link { font-size: clamp(1.5rem, 8vw, 3.5rem); }
}

/* Typewriter Effect CSS */
.type-cursor { display: inline-block; width: 4px; height: 1em; background-color: currentColor; margin-left: 1vw; vertical-align: baseline;; animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

#typewriter {
    font-size: 0.9em;
}

@keyframes flipSpin {
  0% { transform: rotateX(0deg); opacity: 1; }
  50% { transform: rotateX(-90deg); opacity: 0.5; }
  51% { transform: rotateX(90deg); opacity: 0.5; }
  100% { transform: rotateX(0deg); opacity: 1; }
}

.flip-anim {
  animation: flipSpin 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  display: inline-block;
  transform-style: preserve-3d;
  transform-origin: center center;
}

#hero-verb {
    color: #fff;
    -webkit-text-fill-color: #fff;
    backface-visibility: hidden;
}
