/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark palette */
    --bg: #08080C;
    --bg-warm: #0D0D14;
    --bg-card: #12121C;
    --bg-card-hover: #16162A;
    --bg-glass: rgba(18, 18, 28, 0.72);

    --text: #F5F5FA;
    --text-secondary: #A0A0C0;
    --text-muted: #64648C;

    --accent: #8B7FFF;
    --accent-light: #A29BFE;
    --accent-bright: #6C5CE7;
    --accent-soft: rgba(139, 127, 255, 0.1);
    --accent-glow: rgba(139, 127, 255, 0.35);

    --gradient-primary: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 50%, #74B9FF 100%);
    --gradient-warm: linear-gradient(135deg, #08080C 0%, #13102B 50%, #0C1428 100%);
    --gradient-card: linear-gradient(145deg, rgba(22,22,42,0.8) 0%, rgba(12,12,20,0.5) 100%);
    --gradient-mesh: radial-gradient(ellipse at 20% 50%, rgba(108,92,231,0.15) 0%, transparent 50%),
                     radial-gradient(ellipse at 80% 20%, rgba(116,185,255,0.1) 0%, transparent 50%),
                     radial-gradient(ellipse at 50% 80%, rgba(162,155,254,0.08) 0%, transparent 50%);

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.6), 0 8px 20px rgba(0,0,0,0.4);
    --shadow-glow: 0 8px 32px rgba(108,92,231,0.4);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

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

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.1s;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent-light);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s, height 0.3s, border-color 0.3s;
}

body:hover .custom-cursor,
body:hover .cursor-follower {
    opacity: 1;
}

.cursor-hover .cursor-follower {
    width: 56px;
    height: 56px;
    border-color: var(--accent);
    background: rgba(108, 92, 231, 0.06);
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid transparent;
}

.preloader-orbit:nth-child(1) {
    width: 80px; height: 80px;
    border-top-color: var(--accent);
    animation: spin 1.2s linear infinite;
}

.preloader-orbit:nth-child(2) {
    width: 60px; height: 60px;
    border-right-color: var(--accent-light);
    animation: spin 1s linear infinite reverse;
}

.preloader-orbit:nth-child(3) {
    width: 40px; height: 40px;
    border-bottom-color: #74B9FF;
    animation: spin 0.8s linear infinite;
}

.preloader-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--accent);
    letter-spacing: 2px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    color: white !important;
    background: var(--gradient-primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}

.nav-link-cta::after { display: none; }

.nav-link-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 40px rgba(108,92,231,0.5);
}

.nav-toggle span {
    background: var(--text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-warm);
    z-index: 1;
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: flex;
    align-items: center;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
    position: relative;
    z-index: 3;
}

/* Hero Portrait */
.hero-portrait {
    position: absolute;
    right: -100px;
    top: 10%;
    width: 65%;
    max-width: 820px;
    z-index: 2;
}

.portrait-glow {
    position: absolute;
    inset: -60px;
    background: radial-gradient(ellipse at center bottom, rgba(108, 92, 231, 0.25) 0%, rgba(108, 92, 231, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.portrait-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.6));
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: rgba(139, 127, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 127, 255, 0.3);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-light);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    box-shadow: 0 0 32px rgba(139, 127, 255, 0.15);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.hero-line-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 0 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
    border: none;
    cursor: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(108,92,231,0.35);
}

.btn-ghost {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-strong);
    color: var(--text);
}

.btn-ghost:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    padding: 24px 32px;
    border-radius: var(--radius-xl);
    background: rgba(18, 18, 28, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.hero-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-strong);
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border-strong);
    border-radius: 12px;
    position: relative;
}

.scroll-line {
    width: 2px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* ===== SECTIONS ===== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.section-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-description {
    margin: 16px auto 0;
}

/* ===== ABOUT ===== */
.section-about {
    background: var(--gradient-mesh), var(--bg);
    position: relative;
    z-index: 2;
    border-top-left-radius: 48px;
    border-top-right-radius: 48px;
    margin-top: -48px;
    box-shadow: 0 -40px 80px rgba(0, 0, 0, 0.5), 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.section-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    margin-top: 20px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.6;
}

.about-header {
    text-align: center;
    margin-bottom: 56px;
}

/* About Tiles Grid */
.about-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-tile {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(139, 127, 255, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.about-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 127, 255, 0.3);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 32px rgba(108, 92, 231, 0.15);
}

.about-tile:hover::before {
    opacity: 1;
}

.tile-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.about-tile:hover .tile-icon {
    background: rgba(139, 127, 255, 0.2);
    box-shadow: 0 0 24px rgba(108, 92, 231, 0.3);
}

.tile-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.tile-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* ===== METHODOLOGY ===== */
.section-methodology {
    background: var(--bg-warm);
    overflow: hidden;
}

#methodCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: 0;
}

.section-methodology .container {
    position: relative;
    z-index: 1;
}

.methodology-founders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.founder-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.founder-image-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.founder-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--border-strong);
    box-shadow: 0 0 0 6px rgba(139, 127, 255, 0.08), var(--shadow-md);
    transition: var(--transition);
}

.founder-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, transparent 40%, rgba(8,8,12,0.25) 100%);
    pointer-events: none;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-card:hover .founder-photo {
    border-color: var(--accent);
    box-shadow: 0 0 0 8px rgba(139, 127, 255, 0.15), var(--shadow-lg);
}

.founder-card:hover .founder-photo img {
    transform: scale(1.08);
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.founder-role {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.founder-quote {
    font-size: 15px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Process */
.methodology-process {
    display: flex;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.process-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    flex-shrink: 0;
    margin-top: 28px;
    border-radius: 2px;
    opacity: 0.4;
}

/* ===== AI DEMO ===== */
.section-ai {
    background: var(--gradient-mesh), var(--bg);
}

.ai-demo-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}

.ai-demo-window {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.ai-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-warm);
}

.ai-window-dots {
    display: flex;
    gap: 8px;
}

.ai-window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.ai-window-dots span:nth-child(1) { background: #FF6B6B; opacity: 0.8; }
.ai-window-dots span:nth-child(2) { background: #FECA57; opacity: 0.8; }
.ai-window-dots span:nth-child(3) { background: #48C774; opacity: 0.8; }

.ai-window-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.ai-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #48C774;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ai-chat {
    padding: 24px;
    min-height: 320px;
    max-height: 420px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    animation: messageIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes messageIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-message-user {
    flex-direction: row-reverse;
}

.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-message-user .ai-avatar {
    background: var(--gradient-primary);
    color: white;
}

.ai-bubble {
    background: rgba(139, 127, 255, 0.08);
    border: 1px solid var(--border);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    max-width: 80%;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}

.ai-message-user .ai-bubble {
    background: var(--accent);
    color: white;
}

.ai-bubble .distortion-tag {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: rgba(139, 127, 255, 0.18);
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 600;
    margin: 8px 4px 4px 0;
}

.ai-bubble .alternative {
    display: block;
    margin-top: 12px;
    padding: 12px 16px;
    background: rgba(72, 199, 116, 0.12);
    border-left: 3px solid #48C774;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text);
}

.ai-typing {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.ai-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typingBounce 1.4s infinite;
}

.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

.ai-input-area {
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
}

.ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-suggestion {
    padding: 10px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: none;
}

.ai-suggestion:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.ai-suggestion:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* AI info cards */
.ai-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.ai-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.ai-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ai-info-card h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.ai-info-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== CONSULTATION ===== */
.section-consultation {
    background: var(--bg-warm);
}

.consultation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

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

.consult-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.consult-feature svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Price card */
.price-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.price-card-header {
    padding: 40px;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
}

.price-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 16px 0 8px;
}

.price-currency {
    font-size: 28px;
    font-weight: 600;
    opacity: 0.9;
}

.price-number {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: 16px;
    opacity: 0.8;
}

.price-duration {
    font-size: 15px;
    opacity: 0.85;
}

.price-card-body {
    padding: 32px 40px 40px;
}

.price-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

/* ===== STORIES ===== */
.section-stories {
    background: var(--gradient-mesh), var(--bg);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.story-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 36px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

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

.story-quote {
    font-family: var(--font-heading);
    font-size: 64px;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 24px;
    right: 32px;
    opacity: 0.3;
}

.story-tag {
    display: inline-flex;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.story-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.story-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.story-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.story-location {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== FAQ ===== */
.section-faq {
    background: var(--bg-warm);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    cursor: none;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--accent);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===== DIPLOMAS ===== */
.section-diplomas {
    background: var(--gradient-mesh), var(--bg);
}

.diplomas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.diploma-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 20px;
    text-align: left;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: none;
}

.diploma-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.diploma-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 1.41 / 1;
    background: #0a0a12;
}

.diploma-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.95) contrast(1.05);
}

.diploma-card:hover .diploma-image img {
    transform: scale(1.05);
}

.diploma-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 8, 12, 0.5);
    backdrop-filter: blur(2px);
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.diploma-card:hover .diploma-overlay {
    opacity: 1;
}

.diploma-overlay svg {
    padding: 12px;
    background: var(--gradient-primary);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    box-shadow: var(--shadow-glow);
}

.diploma-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 0 12px;
    line-height: 1.4;
}

.diploma-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding: 0 12px;
}

.diploma-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    transition: var(--transition);
    padding: 0 12px 8px;
}

.diploma-link:hover {
    gap: 10px;
    color: var(--accent-light);
}

/* Diploma Lightbox */
.diploma-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 8, 0.92);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.diploma-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.diploma-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.diploma-lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--accent);
    transform: rotate(90deg);
}

/* ===== CONTACT ===== */
.section-contact {
    background: var(--bg-warm);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.contact-socials {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Contact form */
.contact-form {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-strong);
    background: var(--bg-warm);
    font-size: 15px;
    color: var(--text);
    transition: var(--transition);
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-copyright p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== TELEGRAM FLOATING BUTTON ===== */
.telegram-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0088cc 0%, #00aaee 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(0, 136, 204, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 900;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
    cursor: pointer;
}

.telegram-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 10px 32px rgba(0, 136, 204, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.telegram-float svg {
    position: relative;
    z-index: 1;
}

.telegram-float-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(0, 136, 204, 0.6);
    animation: telegramPulse 2s ease-out infinite;
}

@keyframes telegramPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-tiles {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-portrait {
        width: 440px;
    }

    .methodology-process {
        flex-wrap: wrap;
        gap: 24px;
    }

    .process-connector {
        display: none;
    }

    .process-step {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .nav-link {
        font-size: 20px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-portrait {
        position: relative;
        right: auto;
        bottom: auto;
        width: 60%;
        max-width: 350px;
        margin: 0 auto;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        height: auto;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-tiles {
        grid-template-columns: 1fr;
    }

    .consultation-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .methodology-founders {
        grid-template-columns: 1fr;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .diplomas-grid {
        grid-template-columns: 1fr;
    }

    .ai-demo-container {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .hero-stat-divider {
        width: 60px;
        height: 1px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .methodology-process {
        padding: 32px 20px;
    }

    .process-step {
        flex: 0 0 100%;
    }

    .custom-cursor,
    .cursor-follower {
        display: none !important;
    }

    body {
        cursor: auto;
    }

    button, a {
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 100px 16px 60px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }
}

/* ===== ANIMATIONS (will be triggered by GSAP) ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
