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

:root {
    --primary: #2E6BEA;
    --primary-dark: #1a4fc0;
    --primary-light: #e8f0fe;
    --text: #1a1a2e;
    --text-secondary: #555;
    --bg: #ffffff;
    --bg-alt: #f7f9fc;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-size: 1.15rem;
}

.logo strong {
    color: var(--primary);
}

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

.nav-link {
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-link--cta {
    background: var(--primary);
    color: white !important;
}

.nav-link--cta:hover {
    background: var(--primary-dark);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

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

/* Hero */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 50%, #f0f7ff 100%);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn--primary {
    background: var(--primary);
    color: white;
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(46, 107, 234, 0.3);
}

.btn--secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--secondary:hover {
    background: var(--primary-light);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn--ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

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

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 0 0 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f0f4ff;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
}

.mock-map {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e4fc 100%);
    position: relative;
}

.mock-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.mock-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(46, 107, 234, 0.4);
}

.mock-bus {
    position: absolute;
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    animation: busMove 4s ease-in-out infinite;
}

@keyframes busMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -10px); }
}

.mock-header {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.mock-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* Hero entrance animations */
.hero-text .badge,
.hero-text h1,
.hero-text .hero-desc,
.hero-text .hero-buttons,
.hero-text .hero-stats {
    opacity: 0;
    transform: translateY(30px);
    animation: heroIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-text .badge { animation-delay: 0.1s; }
.hero-text h1 { animation-delay: 0.2s; }
.hero-text .hero-desc { animation-delay: 0.35s; }
.hero-text .hero-buttons { animation-delay: 0.5s; }
.hero-text .hero-stats { animation-delay: 0.65s; }

.hero-visual {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
    animation: heroVisualIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes heroIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroVisualIn {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Phone floating animation */
.phone-mockup {
    animation: phoneFloat 6s ease-in-out infinite;
}

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

/* Pulse animation for pins */
.mock-pin {
    animation: pinPulse 2s ease-in-out infinite;
}

.mock-pin:nth-child(2) { animation-delay: 0.5s; }
.mock-pin:nth-child(3) { animation-delay: 1s; }

@keyframes pinPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(46, 107, 234, 0.4); }
    50% { transform: scale(1.3); box-shadow: 0 4px 16px rgba(46, 107, 234, 0.6); }
}

/* Dash animation for route */
.mock-route path {
    stroke-dashoffset: 200;
    animation: dashDraw 3s linear infinite;
}

@keyframes dashDraw {
    to { stroke-dashoffset: 0; }
}

/* Counter animation for stats */
.stat-num {
    transition: transform 0.3s ease;
}

.stat:hover .stat-num {
    transform: scale(1.1);
}

/* CTA glow effect */
.cta {
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    animation: ctaGlow 8s linear infinite;
}

@keyframes ctaGlow {
    0% { transform: translate(-30%, -30%); }
    50% { transform: translate(30%, 30%); }
    100% { transform: translate(-30%, -30%); }
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 56px;
}

/* Features */
.features {
    padding: 100px 0;
}

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

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

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Roles */
.roles {
    padding: 100px 0;
    background: var(--bg-alt);
}

.roles-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.role-tab {
    padding: 10px 24px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.role-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.role-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.role-panel {
    display: none;
}

.role-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.role-panel-inner {
    background: white;
    border-radius: var(--radius);
    padding: 40px 48px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.role-panel-inner h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--primary);
}

.role-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.role-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.role-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* How */
.how {
    padding: 100px 0;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 32px 24px;
}

.step-num {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

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

.step-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 40px;
}

/* Lifecycle */
.lifecycle {
    padding: 80px 0 100px;
    background: var(--bg-alt);
}

.lifecycle-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.lc-state {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    min-width: 120px;
}

.lc-state small {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 4px;
}

.lc-queued { background: #fff3cd; color: #856404; }
.lc-approved { background: #d1ecf1; color: #0c5460; }
.lc-active { background: #d4edda; color: #155724; }
.lc-completed { background: var(--primary-light); color: var(--primary); }

.lc-arrow {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.lifecycle-branches {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.lc-branch {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.lc-branch-arrow {
    margin-right: 8px;
}

.lc-rejected { background: #f8d7da; color: #721c24; }
.lc-cancelled { background: #e2e3e5; color: #383d41; }

/* Tech */
.tech {
    padding: 100px 0;
}

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

.tech-item {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.tech-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.tech-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--primary);
}

.tech-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Login */
.login {
    padding: 100px 0;
    background: var(--bg-alt);
}

.login-flow {
    max-width: 900px;
    margin: 0 auto;
}

.login-step {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

/* Phone frame for login demo */
.login-phone {
    flex-shrink: 0;
}

.login-phone-frame {
    width: 300px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 14px;
    box-shadow: var(--shadow-lg), 0 0 0 2px rgba(0,0,0,0.1);
    position: relative;
}

.login-screen {
    background: white;
    border-radius: 24px;
    padding: 36px 24px 28px;
    min-height: 420px;
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.login-screen.active {
    display: flex;
    animation: screenSlide 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes screenSlide {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.ls-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.ls-icon--big {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.ls-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.ls-subtitle {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.4;
}

/* Phone input */
.ls-input-group {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0;
    width: 100%;
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.ls-prefix {
    padding: 12px 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-alt);
    border-right: 1px solid var(--border);
}

.ls-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: transparent;
}

/* SMS code inputs */
.ls-code-group {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.ls-code {
    width: 40px;
    height: 48px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    color: var(--primary);
    background: var(--bg-alt);
    transition: border-color 0.2s;
}

.ls-code:focus {
    border-color: var(--primary);
}

/* Role buttons in phone */
.ls-roles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
}

.ls-role-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 8px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.ls-role-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.ls-role-icon {
    font-size: 1.4rem;
}

.ls-role-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
}

/* Buttons inside phone */
.ls-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.ls-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.ls-btn--success {
    background: #16a34a;
    margin-bottom: 8px;
}

.ls-btn--success:hover {
    background: #15803d;
}

.ls-hint {
    margin-top: 10px;
    font-size: 0.7rem;
    color: #aaa;
}

.ls-resend {
    margin-top: 12px;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.ls-success-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Steps info sidebar */
.login-steps-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    padding-top: 20px;
}

.lsi-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.lsi-item:hover,
.lsi-item.active {
    background: white;
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.lsi-item.active .lsi-num {
    background: var(--primary);
    color: white;
}

.lsi-num {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.lsi-text strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.lsi-text p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* CTA */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1a4fc0 100%);
    color: white;
}

.cta-inner {
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta .btn--primary {
    background: white;
    color: var(--primary);
}

.cta .btn--primary:hover {
    background: #f0f0f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta .btn--secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta .btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

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

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

.footer-brand .logo {
    font-size: 1rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .nav.open {
        display: flex;
    }
    .burger {
        display: flex;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-desc {
        margin: 0 auto 32px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    .tech-grid {
        grid-template-columns: 1fr;
    }
    .steps {
        flex-direction: column;
        align-items: center;
    }
    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .login-step {
        flex-direction: column;
        align-items: center;
    }
    .login-phone-frame {
        width: 260px;
    }
    .login-screen {
        min-height: 380px;
        padding: 28px 20px 24px;
    }
    .login-steps-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
    .lsi-item {
        flex: 0 0 calc(50% - 6px);
        padding: 12px 14px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .lifecycle-flow {
        flex-direction: column;
    }
    .lc-arrow {
        transform: rotate(90deg);
    }
}
