:root {
    --bg: #030305;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);

    --text-main: #ffffff;
    --text-muted: #a1a1aa;

    --accent-1: #FF0F7B;
    --accent-2: #F89B29;
    --accent-3: #8B5CF6;
    /* Purple glow */
    --accent-success: #10b981;

    --font: 'Inter', sans-serif;
    --bezier: cubic-bezier(0.16, 1, 0.3, 1);
    --bezier-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg);
}

body {
    font-family: var(--font);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 80px;
}

/* Background Magic */
.mesh-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.35;
    animation: float 20s infinite alternate;
    pointer-events: none;
}

.mesh-1 {
    width: 45vw;
    height: 45vw;
    background: var(--accent-1);
    top: -20%;
    left: -10%;
}

.mesh-2 {
    width: 35vw;
    height: 35vw;
    background: var(--accent-2);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.mesh-3 {
    width: 50vw;
    height: 50vw;
    background: var(--accent-3);
    top: 30%;
    left: 30%;
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(100px, 50px) rotate(20deg);
    }
}

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

/* Typography */
h1,
h2,
h3 {
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 15, 123, 0.3);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 60px;
}

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

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

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--bezier);
}

.glass-header.scrolled {
    background: rgba(3, 3, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo i {
    color: var(--accent-1);
    font-size: 1.8rem;
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: #fff;
}

.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--surface);
    border-color: var(--border-highlight);
}

/* Magical Buttons */
.btn-magic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(255, 15, 123, 0.6);
    transition: all 0.4s var(--bezier-spring);
    position: relative;
    overflow: hidden;
}

.btn-magic:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(255, 15, 123, 0.8), 0 0 20px rgba(248, 155, 41, 0.4);
}

.btn-magic::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

.btn-magic.loading .btn-text {
    opacity: 0;
}

.btn-magic.loading::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-magic.success {
    background: var(--accent-success);
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.6);
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

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

/* Hero */
.hero {
    padding: 180px 0 100px;
    text-align: center;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-title {
    font-size: 5.5rem;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-cta {
    margin-bottom: 80px;
}

/* Dashboard Showcase & Toasts */
.hero-visual {
    perspective: 1000px;
    position: relative;
}

.glass-mockup {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: rotateX(10deg);
    transition: transform 0.6s var(--bezier);
}

.glass-mockup:hover {
    transform: rotateX(0deg) translateY(-10px);
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.mockup-header i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-highlight);
    display: block;
}

.mockup-body {
    display: flex;
    gap: 20px;
    height: 400px;
}

.ui-sidebar {
    width: 220px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.ui-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ui-nav {
    height: 50px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.ui-grid {
    display: flex;
    gap: 20px;
    height: 140px;
}

.ui-card {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 15, 123, 0.1), rgba(248, 155, 41, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(255, 15, 123, 0.2);
}

.ui-list {
    flex: 1;
    background: var(--surface);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--border);
}

.ui-item {
    height: 20px;
    background: var(--border-highlight);
    border-radius: 6px;
    width: 60%;
}

.ui-item:nth-child(2) {
    width: 80%;
}

.hero-toast {
    position: absolute;
    background: rgba(20, 20, 22, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
    animation: float-toast 6s infinite alternate ease-in-out;
    white-space: nowrap;
    color: #fff;
}

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.toast-success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-success);
}

.toast-purple {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-3);
}

.toast-orange {
    background: rgba(248, 155, 41, 0.2);
    color: var(--accent-2);
}

.toast-1 {
    top: -20px;
    right: -40px;
    animation-delay: 0s;
}

.toast-2 {
    bottom: 60px;
    left: -60px;
    animation-delay: -2s;
}

.toast-3 {
    bottom: -20px;
    right: 20px;
    animation-delay: -4s;
}

@keyframes float-toast {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    100% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* Stats & Trust */
.stats-section {
    padding: 40px 0 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.05em;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

/* Features & Bento Grid */
.features {
    padding: 120px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(320px, auto);
}

.bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--bezier);
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    background: var(--surface-hover);
    border-color: var(--border-highlight);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.bento-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-2);
    margin-bottom: 24px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.bento-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.bento-large {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    padding: 0;
}

.bento-large .bento-content {
    padding: 40px;
    flex: 1;
}

.bento-visual {
    flex: 1;
    background: radial-gradient(circle at center, rgba(255, 15, 123, 0.2), transparent);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.video-mockup {
    width: 100%;
    max-width: 300px;
    height: 200px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.video-mockup i {
    font-size: 4rem;
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s var(--bezier);
}

.video-mockup:hover i {
    transform: scale(1.1);
    opacity: 1;
    color: var(--accent-1);
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.progress-bar span {
    display: block;
    height: 100%;
    width: 45%;
    background: var(--accent-1);
    box-shadow: 0 0 10px var(--accent-1);
}

.bento-wide {
    grid-column: span 3;
}

.bento-wide .bento-content {
    max-width: 600px;
}

/* ROI Section (Sales argument) */
.roi-section {
    padding: 80px 0 120px;
}

.roi-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 60px auto 0;
}

.roi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 40px;
    text-align: left;
    transition: all 0.5s var(--bezier);
}

.roi-card:hover {
    transform: translateY(-4px);
}

.old-way {
    opacity: 0.7;
    filter: grayscale(100%);
}

.new-way {
    background: linear-gradient(135deg, rgba(255, 15, 123, 0.05), rgba(248, 155, 41, 0.05));
    border-color: rgba(255, 15, 123, 0.2);
    position: relative;
}

.new-way::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.roi-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 24px;
    background: var(--surface-hover);
    color: var(--text-muted);
}

.glow-badge {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 15, 123, 0.3);
}

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

.roi-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.old-way .roi-list i {
    color: #f43f5e;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.new-way .roi-list li {
    color: #fff;
}

.new-way .roi-list i {
    color: var(--accent-success);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Contact Form Magic */
.contact-section {
    padding: 40px 0 100px;
}

.contact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 15, 123, 0.1), transparent 50%);
    pointer-events: none;
}

.contact-content h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.contact-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-form-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.input-wrapper {
    position: relative;
    margin-bottom: 32px;
}

.input-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border);
    padding: 16px 0;
    color: #fff;
    font-size: 1.25rem;
    font-family: var(--font);
    transition: all 0.3s ease;
    outline: none;
    border-radius: 0;
}

.input-wrapper label {
    position: absolute;
    left: 0;
    top: 16px;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: all 0.3s var(--bezier);
    pointer-events: none;
}

.input-wrapper input:focus,
.input-wrapper input:not(:placeholder-shown) {
    border-bottom-color: var(--accent-1);
}

.input-wrapper input:focus+label,
.input-wrapper input:not(:placeholder-shown)+label {
    top: -12px;
    font-size: 0.85rem;
    color: var(--accent-1);
    font-weight: 600;
}

.btn-block {
    width: 100%;
    padding: 24px;
    font-size: 1.25rem;
}

/* Mobile Floating Dock (iOS Style) */
.mobile-dock {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 22, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    padding: 8px 16px;
    z-index: 2000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    width: 60px;
    height: 50px;
    gap: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dock-item i {
    font-size: 1.4rem;
    transition: transform 0.2s;
}

.dock-item span {
    font-size: 0.65rem;
    font-weight: 500;
}

.dock-item.active {
    color: var(--accent-1);
}

.dock-item.active i {
    transform: translateY(-2px);
}

.dock-action {
    transform: translateY(-16px);
    width: 64px;
}

.dock-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 15, 123, 0.4);
}

.dock-fab i {
    font-size: 1.5rem;
}

/* Animations classes */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--bezier);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 1s var(--bezier);
}

.reveal-up.active,
.reveal-scale.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Turnkey Section */
.turnkey-card {
    position: relative;
    overflow: hidden;
}

.turnkey-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 15, 123, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.turnkey-card:hover::after {
    opacity: 1;
}

.turnkey-card:hover {
    background: var(--surface-hover) !important;
    border-color: var(--border-highlight) !important;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Footer */
.glass-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    margin-bottom: 20px;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
}

/* Responsive Mobile Magic */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-wide,
    .bento-large {
        grid-column: span 2;
    }

    .hero-title {
        font-size: 4rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0;
    }

    .roi-cards {
        grid-template-columns: 1fr;
    }

    .contact-card {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
    }

    .contact-content h2 {
        font-size: 2.5rem;
    }

    .hero-toast {
        display: none;
    }

    /* keep visual clean on mobile */
}

@media (max-width: 768px) {
    body {
        padding-bottom: 120px;
    }

    .desktop-nav,
    .header-action {
        display: none;
    }

    .mobile-dock {
        display: flex;
        width: calc(100% - 32px);
        justify-content: space-between;
        max-width: 400px;
    }

    .hero {
        padding: 140px 0 60px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .btn-magic {
        width: 100%;
        padding: 18px 24px;
        font-size: 1.1rem;
    }

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

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

    .bento-wide,
    .bento-large {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
    }

    .bento-large .bento-content {
        padding: 32px 24px;
    }

    .video-mockup {
        margin: 0 auto 32px;
        width: 100%;
        max-width: 250px;
    }

    .contact-card {
        padding: 32px 24px;
        border-radius: 32px;
    }

    .contact-content h2 {
        font-size: 2.2rem;
    }

    .contact-form-container {
        padding: 24px;
        border-radius: 20px;
    }

    .input-wrapper input {
        font-size: 1.1rem;
    }
}