/* ============================================
   DIGIVO — Website Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --purple: #7B2D8E;
    --purple-dark: #5A1D6B;
    --magenta: #D946EF;
    --magenta-light: #E879F9;
    --red: #E81D3C;
    --lavender: #F3E8FF;
    --lavender-soft: #FAF5FF;
    --pink-soft: #FDF2F8;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-400: #A3A3A3;
    --gray-600: #525252;
    --gray-800: #262626;
    --gray-900: #171717;
    --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; cursor: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, textarea, select { font-family: var(--font); cursor: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Custom Cursor --- */
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--magenta);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s var(--ease-spring), height 0.2s var(--ease-spring), background 0.2s;
}
.cursor-ring {
    width: 40px; height: 40px;
    border: 1.5px solid var(--purple);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), border-color 0.2s, opacity 0.2s;
    opacity: 0.5;
}
.cursor-dot.hovering { width: 14px; height: 14px; background: var(--purple); }
.cursor-ring.hovering { width: 56px; height: 56px; border-color: var(--magenta); opacity: 0.3; }

@media (hover: none) {
    .cursor-dot, .cursor-ring { display: none; }
    body, a, button, input, textarea, select { cursor: auto; }
}

/* --- Floating Bubbles --- */
.bubbles-container {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: bubbleFloat linear infinite;
}
@keyframes bubbleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* --- Navigation --- */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out-expo);
}
.nav.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 36px; width: auto; }
.nav.scrolled .nav-logo img { height: 30px; }
.nav-links {
    display: flex; align-items: center; gap: 36px;
}
.nav-links a {
    font-size: 14px; font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--gray-600);
    transition: color 0.25s;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute;
    bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--magenta);
    transition: width 0.3s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--gray-900); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: var(--purple) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 100px;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    transition: background 0.25s, transform 0.25s var(--ease-spring) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--purple-dark) !important; transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: all 0.3s; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px; font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.3s var(--ease-spring);
    border: none;
}
.btn-primary {
    background: var(--purple);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(123, 45, 142, 0.25);
}
.btn-primary:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(123, 45, 142, 0.35);
}
.btn-ghost {
    background: transparent;
    color: var(--purple);
    border: 1.5px solid var(--purple);
}
.btn-ghost:hover { background: var(--lavender); transform: translateY(-2px); }
.btn-full { width: 100%; }

/* --- Section Generics --- */
.section { padding: 120px 0; position: relative; z-index: 1; }
.section-tag {
    display: inline-block;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: var(--lavender);
    border-radius: 100px;
}
.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 24px;
}
.section-header { text-align: center; margin-bottom: 64px; }

.text-gradient {
    background: linear-gradient(135deg, var(--purple), var(--magenta), var(--red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    overflow: hidden;
}
.hero-content {
    max-width: 1200px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 60px;
}
.hero-tag {
    font-size: 13px; font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 20px;
}
.hero-headline {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 700;
    line-height: 1.08;
    color: var(--gray-900);
    margin-bottom: 28px;
}
.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-600);
    max-width: 520px;
    margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
    position: relative;
    height: 480px;
    display: flex; align-items: center; justify-content: center;
}
.hero-orb {
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--magenta-light), var(--purple));
    opacity: 0.12;
    filter: blur(60px);
    animation: orbPulse 6s ease-in-out infinite;
}
.hero-orb--2 {
    width: 240px; height: 240px;
    right: 0; bottom: 40px;
    background: radial-gradient(circle at 70% 70%, var(--red), var(--magenta));
    animation-delay: -3s;
    animation-duration: 8s;
}
@keyframes orbPulse {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.15) translate(10px, -15px); }
}

.hero-stat-float {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    padding: 20px 28px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
    display: flex; flex-direction: column;
    animation: statFloat 4s ease-in-out infinite;
    border: 1px solid rgba(123, 45, 142, 0.08);
}
.stat-num { font-size: 28px; font-weight: 700; color: var(--purple); }
.stat-label { font-size: 12px; color: var(--gray-400); margin-top: 2px; letter-spacing: 0.02em; }
.stat-1 { top: 10%; right: 10%; animation-delay: 0s; }
.stat-2 { bottom: 20%; left: 5%; animation-delay: -1.3s; }
.stat-3 { bottom: 5%; right: 20%; animation-delay: -2.6s; }
@keyframes statFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.scroll-indicator {
    display: flex; flex-direction: column;
    align-items: center; gap: 12px;
    margin-top: auto;
    padding-top: 40px;
}
.scroll-indicator span { font-size: 12px; color: var(--gray-400); letter-spacing: 0.08em; text-transform: uppercase; }
.scroll-mouse {
    width: 24px; height: 38px;
    border: 2px solid var(--gray-400);
    border-radius: 12px;
    position: relative;
}
.scroll-wheel {
    width: 3px; height: 8px;
    background: var(--magenta);
    border-radius: 2px;
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* --- About --- */
.about { background: var(--gray-50); }
.about-lead {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto 24px;
}
.about-cards {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 64px;
}
.about-card {
    background: var(--white);
    border-radius: 20px;
    padding: 48px 40px;
    border: 1px solid var(--gray-200);
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(123, 45, 142, 0.08);
}
.about-card-icon {
    width: 48px; height: 48px;
    color: var(--purple);
    margin-bottom: 24px;
}
.about-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; color: var(--gray-900); }
.about-card-product {
    font-size: 14px; font-weight: 700;
    color: var(--magenta);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}
.about-card p:last-child { font-size: 15px; line-height: 1.7; color: var(--gray-600); }

.about-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 72px;
    text-align: center;
}
.about-stat-num {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    color: var(--purple);
}
.about-stat-suffix {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    color: var(--purple);
}
.about-stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

/* --- What We Do --- */
.wwd-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.wwd-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 36px 32px;
    transition: all 0.4s var(--ease-spring);
    position: relative;
    overflow: hidden;
}
.wwd-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--magenta));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}
.wwd-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.wwd-card:hover::before { transform: scaleX(1); }
.wwd-card-num {
    font-size: 48px; font-weight: 800;
    color: var(--lavender);
    line-height: 1;
    margin-bottom: 16px;
}
.wwd-card h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.wwd-card p { font-size: 14px; line-height: 1.7; color: var(--gray-600); }

/* --- Products --- */
.products { background: var(--gray-50); }
.product-block {
    background: var(--white);
    border-radius: 24px;
    padding: 56px 48px;
    margin-bottom: 48px;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}
.product-block::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--purple), var(--magenta));
}
.product-block--alt::before {
    background: linear-gradient(180deg, var(--magenta), var(--red));
}
.product-badge {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--purple);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.product-badge--alt { background: var(--magenta); }
.product-name {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.product-tagline {
    font-size: 18px;
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 24px;
}
.product-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    max-width: 800px;
    margin-bottom: 40px;
}
.product-features {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.product-features h4 {
    font-size: 16px; font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    padding-left: 24px;
    position: relative;
}
.feature-list li::before {
    content: '';
    position: absolute; left: 0; top: 8px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--magenta);
    opacity: 0.6;
}

.product-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 32px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 32px;
}
.product-stat { text-align: center; }
.product-stat-num {
    font-size: 32px; font-weight: 700;
    color: var(--purple);
    display: block;
}
.product-stat-label {
    font-size: 13px;
    color: var(--gray-400);
    letter-spacing: 0.02em;
    margin-top: 4px;
}
.product-sectors h4 {
    font-size: 14px; font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.sector-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sector-tag {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.02em;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--lavender);
    color: var(--purple);
    transition: all 0.25s;
}
.sector-tag:hover { background: var(--purple); color: var(--white); }

/* --- Who We Are (Team) --- */
.team { background: var(--white); }
.team-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 56px;
    align-items: start;
}
.team-visual {
    text-align: center;
    position: sticky;
    top: 120px;
}
.team-avatars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-bottom: 20px;
    position: relative;
}
.team-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    border: 3px solid var(--white);
    margin-left: -12px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s var(--ease-spring);
}
.team-avatar:first-child { margin-left: 0; }
.team-avatar:hover { transform: translateY(-4px); z-index: 5; }
.team-avatar-1 { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); z-index: 5; }
.team-avatar-2 { background: linear-gradient(135deg, var(--magenta), #C026D3); z-index: 4; }
.team-avatar-3 { background: linear-gradient(135deg, var(--red), #DC2626); z-index: 3; }
.team-avatar-4 { background: linear-gradient(135deg, #6366F1, #4F46E5); z-index: 2; }
.team-avatar-5 { background: linear-gradient(135deg, #0EA5E9, #0284C7); z-index: 1; }
.team-avatar-count {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 18px; font-weight: 700;
    border: 3px solid var(--white);
    margin-left: -12px;
}
.team-visual-caption {
    font-size: 13px;
    color: var(--gray-400);
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}
.team-illustration {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    border-radius: 20px;
    background: var(--lavender-soft);
    padding: 20px 12px 8px;
    border: 1px solid rgba(123, 45, 142, 0.06);
}
.team-illustration svg {
    width: 100%;
    height: auto;
    display: block;
}
.team-lead {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 40px;
}
.team-pillars {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.team-pillar {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.team-pillar-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--lavender);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--purple);
}
.team-pillar h4 {
    font-size: 16px; font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}
.team-pillar p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-600);
}

/* --- Contact --- */
.contact { background: var(--gray-50); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
}
.contact-info { padding-top: 16px; }
.contact-info p { font-size: 16px; line-height: 1.8; color: var(--gray-600); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail {
    display: flex; align-items: center; gap: 12px;
    font-size: 15px; color: var(--gray-600);
}
.contact-detail svg { width: 20px; height: 20px; color: var(--purple); flex-shrink: 0; }
.contact-detail a { color: var(--purple); font-weight: 600; }
.contact-detail a:hover { color: var(--magenta); }

.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 13px; font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 15px;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(123, 45, 142, 0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A3A3A3' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 40px;
}
.footer-inner { text-align: center; }
.footer-logo { height: 32px; margin: 0 auto 12px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; color: var(--gray-400); margin-bottom: 32px; }
.footer-links { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-links a { font-size: 14px; color: var(--gray-400); transition: color 0.25s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; }
.footer-bottom p { font-size: 13px; color: var(--gray-400); }

/* --- Hero Phone & Dashboard Mockups --- */
.hero-phone {
    position: absolute;
    bottom: 10%;
    left: 0;
    z-index: 3;
}
.phone-frame {
    width: 220px;
    background: var(--white);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 2px solid var(--gray-200);
    padding-bottom: 16px;
}
.phone-notch {
    width: 80px; height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    margin: 10px auto 0;
}
.phone-header {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 14px 8px;
    font-size: 11px; font-weight: 700; color: var(--gray-800);
}
.phone-header-avatar {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex; align-items: center; justify-content: center;
}
.phone-header-avatar svg { width: 14px; height: 14px; color: white; }
.phone-chat {
    padding: 0 10px;
    display: flex; flex-direction: column; gap: 6px;
}
.chat-bubble {
    max-width: 85%;
    padding: 7px 10px;
    border-radius: 12px;
    font-size: 10px;
    line-height: 1.4;
    color: var(--gray-800);
}
.chat-incoming {
    background: var(--gray-100);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.chat-outgoing {
    background: #DCF8C6;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.anim-chat {
    opacity: 0;
    transform: translateY(8px);
    animation: chatIn 0.5s var(--ease-out-expo) forwards;
}
.anim-chat-1 { animation-delay: 0.5s; }
.anim-chat-2 { animation-delay: 1.2s; }
.anim-chat-3 { animation-delay: 1.9s; }
.anim-chat-4 { animation-delay: 2.6s; }
.anim-chat-5 { animation-delay: 3.3s; }
@keyframes chatIn {
    to { opacity: 1; transform: translateY(0); }
}
.typing-dots {
    display: inline-flex; gap: 3px; padding: 2px 0;
}
.typing-dots span {
    display: block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gray-400);
    animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.hero-dashboard {
    position: absolute;
    top: 5%;
    right: -5%;
    z-index: 2;
}
.dash-frame {
    width: 280px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 16px 50px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.04);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}
.dash-topbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px;
    background: var(--lavender-soft);
    border-bottom: 1px solid var(--gray-200);
}
.dash-topbar-title {
    font-size: 11px; font-weight: 700; color: var(--purple);
    display: flex; align-items: center; gap: 6px;
}
.dash-topbar-dots { display: flex; gap: 4px; }
.dash-topbar-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
}
.dash-topbar-dots span:nth-child(1) { background: #FF605C; }
.dash-topbar-dots span:nth-child(2) { background: #FFBD44; }
.dash-topbar-dots span:nth-child(3) { background: #00CA4E; }
.dash-body { padding: 14px; }
.dash-metric {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0;
    font-size: 11px;
    border-bottom: 1px solid var(--gray-100);
}
.dash-metric:last-of-type { border-bottom: none; }
.dash-metric-label { color: var(--gray-600); }
.dash-metric-val { font-weight: 700; color: var(--gray-900); }
.dash-metric-change { color: #16A34A; font-weight: 600; font-size: 10px; }
.dash-chart {
    display: flex; align-items: flex-end; gap: 6px;
    height: 50px;
    padding-top: 12px;
}
.dash-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    animation: barGrow 1s var(--ease-out-expo) forwards;
    transform-origin: bottom;
    transform: scaleY(0);
}
.dash-bar:nth-child(1) { background: var(--lavender); animation-delay: 0.2s; }
.dash-bar:nth-child(2) { background: var(--magenta-light); animation-delay: 0.35s; }
.dash-bar:nth-child(3) { background: var(--purple); animation-delay: 0.5s; }
.dash-bar:nth-child(4) { background: var(--magenta); animation-delay: 0.65s; }
.dash-bar:nth-child(5) { background: var(--purple); animation-delay: 0.8s; }
.dash-bar:nth-child(6) { background: var(--magenta-light); animation-delay: 0.95s; }
.dash-bar:nth-child(7) { background: var(--red); animation-delay: 1.1s; }
@keyframes barGrow {
    to { transform: scaleY(1); }
}

/* --- Product Top Grid (Text + Mockup Layout) --- */
.product-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 40px;
}
.product-top-grid--reverse {
    direction: rtl;
}
.product-top-grid--reverse > * {
    direction: ltr;
}
.product-top-text .product-header {
    margin-bottom: 0;
}

/* --- Dimma App Mockup --- */
.dimma-app-mock {
    background: #1A1A2E;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    display: flex;
    min-height: 380px;
}
.dimma-sidebar {
    width: 170px;
    background: #12122A;
    padding: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.dimma-sidebar-brand {
    display: flex; align-items: center; gap: 8px;
    padding: 16px 14px;
    font-size: 14px; font-weight: 700;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dimma-sidebar-brand svg {
    color: var(--magenta);
}
.dimma-sidebar-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 4px 14px;
}
.dimma-sidebar-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    padding: 10px 14px 4px;
}
.dimma-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.dimma-nav-item.active {
    color: var(--white);
    background: rgba(217, 70, 239, 0.1);
    border-left-color: var(--magenta);
}
.dimma-nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.dimma-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.dimma-greeting {
    font-size: 18px; font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}
.dimma-greeting-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}
.dimma-chat-window {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}
.dimma-msg {
    font-size: 11px;
    line-height: 1.55;
    padding: 10px 12px;
    border-radius: 12px;
    max-width: 92%;
}
.dimma-msg-user {
    background: rgba(217, 70, 239, 0.15);
    color: var(--magenta-light);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.dimma-msg-agent {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.dimma-agent-badge {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 9px; font-weight: 700;
    color: var(--magenta);
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}
.dimma-campaign-card {
    background: rgba(74, 222, 128, 0.06);
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
    align-self: flex-start;
    max-width: 92%;
}
.dimma-campaign-status {
    display: flex; align-items: center; gap: 6px;
    font-size: 10px; font-weight: 700;
    color: #4ADE80;
    margin-bottom: 8px;
}
.dimma-status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4ADE80;
    animation: livePulse 2s ease-in-out infinite;
}
.dimma-campaign-stats {
    display: flex; gap: 14px;
}
.dimma-camp-stat {
    display: flex; flex-direction: column;
}
.dimma-camp-num {
    font-size: 12px; font-weight: 700;
    color: var(--white);
}
.dimma-camp-label {
    font-size: 9px;
    color: rgba(255,255,255,0.35);
}
.dimma-chat-input {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: auto;
}
.dimma-chat-input span {
    flex: 1;
    font-size: 11px;
    color: rgba(255,255,255,0.25);
}
.dimma-chat-input svg { color: rgba(255,255,255,0.3); width: 16px; height: 16px; flex-shrink: 0; }
.dimma-send-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--magenta);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.dimma-send-icon svg { color: var(--white); }

/* --- Product Icon Features --- */
.product-icon-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.icon-feature {
    text-align: center;
    padding: 28px 16px;
    background: var(--lavender-soft);
    border-radius: 16px;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.icon-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(123, 45, 142, 0.08);
}
.icon-feature-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--purple), var(--magenta));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    color: var(--white);
}
.icon-feature-icon--alt {
    background: linear-gradient(135deg, var(--magenta), var(--red));
}
.icon-feature h5 {
    font-size: 14px; font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}
.icon-feature p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--gray-600);
}

/* --- Product CTA Buttons --- */
.product-cta {
    gap: 8px;
    margin-top: 24px;
}
.btn-me {
    background: linear-gradient(135deg, var(--magenta), var(--red));
    box-shadow: 0 4px 20px rgba(217, 70, 239, 0.25);
}
.btn-me:hover {
    box-shadow: 0 8px 30px rgba(217, 70, 239, 0.35);
    transform: translateY(-2px);
}

/* --- Market Eye Dashboard Mockup --- */
.me-dashboard-mock {
    background: #0F172A;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.me-topbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px;
    background: #1E293B;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.me-topbar-brand {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700;
    color: var(--white);
}
.me-topbar-live {
    display: flex; align-items: center; gap: 5px;
    font-size: 10px; font-weight: 600;
    color: #4ADE80;
}
.me-live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4ADE80;
    animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.me-metrics-row {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 14px 16px;
}
.me-metric {
    display: flex; flex-direction: column; gap: 2px;
}
.me-metric-label {
    font-size: 9px; color: rgba(255,255,255,0.4);
    text-transform: uppercase; letter-spacing: 0.05em;
}
.me-metric-val {
    font-size: 18px; font-weight: 700; color: var(--white);
}
.me-metric-up {
    font-size: 10px; font-weight: 600; color: #4ADE80;
}
.me-pulse {
    padding: 0 16px 14px;
}
.me-pulse-title {
    display: block;
    font-size: 10px; font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.me-pulse-cards {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.me-pulse-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 10px;
    display: flex; flex-direction: column; gap: 3px;
}
.me-pulse-label {
    font-size: 9px; color: rgba(255,255,255,0.4);
}
.me-pulse-value {
    font-size: 12px; font-weight: 700; color: var(--white);
}
.me-pulse-badge {
    display: inline-block;
    font-size: 9px; font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(74, 222, 128, 0.15);
    color: #4ADE80;
    width: fit-content;
}
.me-pulse-badge--blue {
    background: rgba(167, 139, 250, 0.15);
    color: #A78BFA;
}
.me-chart-area {
    padding: 0 16px 16px;
}
.me-chart-title {
    display: block;
    font-size: 10px; font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.me-mini-chart {
    height: 50px;
}
.me-line-chart {
    width: 100%; height: 100%;
}

/* --- Animations --- */
.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.anim-delay-1 { transition-delay: 0.15s; }
.anim-delay-2 { transition-delay: 0.3s; }
.anim-delay-3 { transition-delay: 0.45s; }

.text-reveal {
    display: inline-block;
    overflow: hidden;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-visual { height: 360px; }
    .hero-phone { display: none; }
    .hero-dashboard { position: relative; top: auto; right: auto; margin: 0 auto; }
    .about-cards { grid-template-columns: 1fr; }
    .wwd-grid { grid-template-columns: 1fr 1fr; }
    .team-layout { grid-template-columns: 1fr; gap: 40px; }
    .team-visual { position: static; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .product-features { grid-template-columns: 1fr; }
    .product-top-grid { grid-template-columns: 1fr; }
    .product-top-grid--reverse { direction: ltr; }
    .product-icon-features { grid-template-columns: repeat(2, 1fr); }
    .dimma-sidebar { width: 140px; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 998;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 20px; }
    .nav-toggle { display: flex; z-index: 999; }
    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero { padding: 100px 24px 40px; min-height: auto; }
    .hero-headline { font-size: clamp(32px, 8vw, 48px); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-visual { display: none; }

    .wwd-grid { grid-template-columns: 1fr; }
    .product-block { padding: 32px 24px; }
    .product-stats { grid-template-columns: 1fr; gap: 16px; }
    .about-stats { grid-template-columns: 1fr; gap: 24px; }
    .section-title { font-size: clamp(28px, 6vw, 40px); }
    .contact-form-wrapper { padding: 28px 20px; }
    .product-icon-features { grid-template-columns: 1fr 1fr; }
    .dimma-sidebar { display: none; }
    .dimma-app-mock { min-height: 220px; }
    .me-metrics-row { grid-template-columns: 1fr; gap: 8px; }
    .me-pulse-cards { grid-template-columns: 1fr; }
}
