:root {
    --primary: #0D9488;
    --primary-dark: #0F766E;
    --primary-light: #CCFBF1;
    --primary-glow: rgba(13, 148, 136, 0.25);
    --secondary: #0F172A;
    --accent: #EF4444;
    --light: #F8FAFC;
    --surface: #FFFFFF;
    --text: #334155;
    --gray: #64748B;
    --border: #E2E8F0;
    --glass: rgba(255, 255, 255, 0.72);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 32px -8px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.14);
    --shadow-xl: 0 32px 64px -16px rgba(13, 148, 136, 0.2);
    --radius: 20px;
    --radius-lg: 28px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Header */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 14px 5%;
    display: flex; justify-content: space-between; align-items: center;
    transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: var(--shadow-sm); }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 52px; object-fit: contain; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    text-decoration: none; color: var(--secondary);
    font-weight: 600; font-size: 0.95rem; transition: color 0.25s;
}
.nav-links a:hover { color: var(--primary); }

.btn-signup-style {
    background: var(--secondary) !important; color: white !important;
    border: none !important; padding: 11px 26px; border-radius: 50px;
    font-weight: 700; cursor: pointer; display: inline-flex;
    align-items: center; gap: 8px; text-decoration: none; transition: all 0.3s;
}
.btn-signup-style:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.mobile-login, .menu-toggle { display: none; }

/* Loader */
#global-loader {
    display: none; position: fixed; inset: 0;
    background: rgba(255,255,255,0.96); z-index: 9999;
    flex-direction: column; align-items: center; justify-content: center;
}
.spinner {
    width: 44px; height: 44px; border: 3px solid var(--border);
    border-top-color: var(--primary); border-radius: 50%;
    animation: spin 0.8s linear infinite; margin-bottom: 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero */
.hero {
    position: relative;
    padding: 130px 5% 70px;
    min-height: auto;
    display: flex; align-items: center;
    overflow-x: hidden;
    overflow-y: visible;
    background: linear-gradient(180deg, #F0FDFA 0%, #FFFFFF 55%, #F8FAFC 100%);
}
.hero-bg {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-orb {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
}
.hero-orb-1 { width: 600px; height: 600px; background: rgba(13,148,136,0.15); top: -200px; right: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: rgba(15,23,42,0.06); bottom: -100px; left: -80px; }
.hero-grid-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(13,148,136,0.08) 1px, transparent 0);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
}

.hero-inner {
    position: relative; z-index: 1;
    max-width: 1280px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: 52px; align-items: center;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--glass); backdrop-filter: blur(12px);
    border: 1px solid rgba(13,148,136,0.2);
    color: var(--primary-dark); padding: 8px 18px;
    border-radius: 50px; font-weight: 700; font-size: 0.85rem;
    margin-bottom: 1.5rem; letter-spacing: 0.3px;
}
.hero-badge .dot {
    width: 8px; height: 8px; background: var(--primary);
    border-radius: 50%; animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-text h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    color: var(--secondary); font-weight: 800;
    line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 1.25rem;
}
.hero-text h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #0891B2 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p {
    font-size: 1.1rem; color: var(--gray); font-weight: 500;
    line-height: 1.75; margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 2.5rem; }

.btn-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0891B2 100%);
    color: white; padding: 15px 32px; border-radius: 50px;
    font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; transition: all 0.3s;
    box-shadow: 0 8px 28px var(--primary-glow);
}
.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(13,148,136,0.35);
}
.btn-outline {
    background: var(--glass); backdrop-filter: blur(8px);
    color: var(--secondary); border: 1.5px solid var(--border);
    padding: 14px 32px; border-radius: 50px; font-weight: 700;
    font-size: 1rem; cursor: pointer; display: inline-flex;
    align-items: center; gap: 10px; transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); background: white; }

.hero-trust-mini {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.hero-trust-mini .avatars {
    display: flex;
}
.hero-trust-mini .avatars span {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), #E0F2FE);
    border: 2px solid white; margin-left: -10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 800; color: var(--primary-dark);
}
.hero-trust-mini .avatars span:first-child { margin-left: 0; }
.hero-trust-mini p { font-size: 0.9rem; color: var(--gray); font-weight: 600; }
.hero-trust-mini strong { color: var(--secondary); }

/* ===== Device Frames: iPad & iPhone ===== */
.ipad-frame {
    background: linear-gradient(145deg, #252525 0%, #141414 100%);
    border-radius: 14px;
    padding: 3px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        0 20px 40px rgba(15, 23, 42, 0.16);
}
.ipad-screen {
    border-radius: 11px;
    overflow: hidden;
    background: #fff;
    line-height: 0;
}
.ipad-screen img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: top center;
}

.iphone-frame {
    background: linear-gradient(145deg, #252525 0%, #111 100%);
    border-radius: 22px;
    padding: 3px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.08),
        0 12px 28px rgba(15, 23, 42, 0.18);
}
.iphone-screen {
    border-radius: 19px;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 9 / 19.5;
    line-height: 0;
}
.iphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    display: block;
}

/* Hero Mockup */
.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin-left: auto;
    padding: 12px 56px 20px;
}

.hero-ipad {
    position: relative;
    z-index: 2;
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
    transition: transform 0.5s ease;
}
.hero-ipad:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.hero-ipad .ipad-screen img {
    max-height: 340px;
}

.mockup-float {
    position: absolute;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}
.mockup-float-left {
    bottom: 6%;
    left: -20px;
    animation-delay: 0s;
}
.mockup-float-right {
    top: 12%;
    right: -20px;
    animation-delay: -3s;
}
.mockup-float .iphone-frame {
    width: 118px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.iphone-static {
    width: 100%;
    animation: none;
}

/* Stats */
.stats-bar {
    padding: 0 5% 80px;
    margin-top: -20px;
}
.stats-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(226,232,240,0.8);
    border-radius: var(--radius);
    padding: 28px 24px; text-align: center;
    transition: all 0.35s;
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13,148,136,0.3);
}
.stat-card .number {
    font-size: 2.2rem; font-weight: 900; color: var(--secondary);
    letter-spacing: -1px; line-height: 1.1;
}
.stat-card .number span { color: var(--primary); }
.stat-card .label {
    font-size: 0.9rem; color: var(--gray); font-weight: 600; margin-top: 6px;
}

/* Trusted Brands */
.trusted {
    padding: 60px 0; background: var(--light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.trusted-label {
    text-align: center; font-size: 0.85rem; font-weight: 700;
    color: var(--gray); text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 32px;
}
.trusted-label strong { color: var(--secondary); }
.logo-marquee {
    display: flex; overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-track {
    display: flex; gap: 48px; align-items: center;
    animation: marquee 30s linear infinite;
    padding: 0 24px;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.brand-logo {
    flex-shrink: 0;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 24px;
    background: white; border-radius: 14px;
    border: 1px solid var(--border);
    font-weight: 800; font-size: 0.95rem; color: var(--secondary);
    white-space: nowrap; transition: all 0.3s;
}
.brand-logo:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.brand-logo i { font-size: 1.3rem; color: var(--primary); }

/* Section headers */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-tag {
    display: inline-block; background: var(--primary-light);
    color: var(--primary-dark); padding: 6px 16px;
    border-radius: 50px; font-size: 0.8rem; font-weight: 800;
    letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 1rem;
}
.section-title {
    color: var(--secondary); font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900; letter-spacing: -1px; margin-bottom: 0.75rem;
}
.section-desc { font-size: 1.05rem; color: var(--gray); font-weight: 500; }

/* Bento Features */
.features { padding: 100px 5%; background: white; }
.bento-grid {
    max-width: 1280px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
}
.bento-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px;
    transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
    position: relative; overflow: hidden;
}
.bento-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(13,148,136,0.04) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.4s;
}
.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13,148,136,0.35);
}
.bento-card:hover::before { opacity: 1; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-12 { grid-column: span 12; }
.bento-card.featured {
    background: linear-gradient(135deg, #F0FDFA 0%, #ECFEFF 100%);
    border-color: rgba(13,148,136,0.25);
}
.bento-card.featured .icon-box {
    background: var(--primary); color: white;
}
.bento-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--primary-light); color: var(--primary-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.25rem;
    transition: all 0.35s;
}
.bento-card:hover .bento-icon {
    background: var(--primary); color: white;
    transform: scale(1.08) rotate(-4deg);
}
.bento-card h3 {
    font-size: 1.15rem; font-weight: 800; color: var(--secondary);
    margin-bottom: 10px; letter-spacing: -0.3px;
}
.bento-card p { font-size: 0.92rem; color: var(--gray); line-height: 1.65; margin-bottom: 8px; }
.bento-card p::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: var(--primary); margin-right: 8px; font-size: 0.75rem;
}
/* Bento card with side preview */
.bento-card.has-preview {
    display: grid;
    grid-template-columns: 1fr 38%;
    gap: 16px;
    align-items: center;
    min-height: 210px;
    padding: 28px 24px 28px 32px;
}
.bento-card.has-preview .bento-content { min-width: 0; }
.bento-preview {
    flex-shrink: 0;
    align-self: center;
    height: 90%;
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bento-preview-ipad {
    width: 100%;
    filter: drop-shadow(0 8px 24px rgba(15, 23, 42, 0.12));
}
.bento-preview-ipad .ipad-frame {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.bento-preview-ipad .ipad-screen {
    flex: 1;
    display: flex;
    align-items: flex-start;
    min-height: 0;
}
.bento-preview-ipad .ipad-screen img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: top center;
}
.bento-preview-phone {
    height: auto;
    min-height: 0;
    max-width: 115px;
    width: 100%;
    filter: drop-shadow(0 8px 24px rgba(15, 23, 42, 0.12));
}
.bento-preview-phone .iphone-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 19.5;
}
.bento-preview-phone .iphone-screen {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 19.5;
}
.bento-preview-phone .iphone-screen img {
    object-fit: contain;
    object-position: top center;
}

/* Mobile showcase row */
.mobile-showcase {
    max-width: 1280px; margin: 48px auto 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.mobile-showcase-item { text-align: center; }
.mobile-showcase-item .iphone-static {
    width: 200px; margin: 0 auto 16px;
    transition: transform 0.35s;
}
.mobile-showcase-item:hover .iphone-static { transform: translateY(-6px); }
.mobile-showcase-item h4 {
    font-size: 0.95rem; font-weight: 800; color: var(--secondary); margin-bottom: 4px;
}
.mobile-showcase-item p { font-size: 0.82rem; color: var(--gray); font-weight: 500; }

/* Showcase Gallery */
.showcase {
    padding: 100px 5%;
    background: linear-gradient(180deg, var(--light) 0%, white 100%);
}
.showcase-grid {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.showcase-item {
    position: relative; border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: all 0.4s;
}
.showcase-item:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); }
.showcase-item img { width: 100%; display: block; }
.showcase-item.large { grid-column: span 2; }
.showcase-item .caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(15,23,42,0.85), transparent);
    color: white;
}
.showcase-item .caption h4 { font-size: 1rem; font-weight: 800; }
.showcase-item .caption p { font-size: 0.85rem; opacity: 0.85; margin-top: 4px; }

/* Hardware */
.hardware {
    padding: 100px 5%;
    background: var(--secondary);
    color: white; position: relative; overflow: hidden;
}
.hardware::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(13,148,136,0.2) 0%, transparent 50%);
}
.hardware .section-tag { background: rgba(13,148,136,0.2); color: #5EEAD4; }
.hardware .section-title { color: white; }
.hardware .section-desc { color: #94A3B8; }

.hardware-grid {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hardware-visual {
    position: relative;
}
.hardware-visual img {
    width: 100%; border-radius: var(--radius-lg);
    box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.hardware-glass-card {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--glass); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius); padding: 20px 24px;
    box-shadow: var(--shadow-lg);
}
.hardware-glass-card .price {
    font-size: 1.6rem; font-weight: 900; color: var(--accent);
}
.hardware-glass-card .price-label {
    font-size: 0.85rem; color: var(--gray); font-weight: 600;
}

.hardware-content h3 {
    font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem;
    letter-spacing: -0.5px;
}
.hardware-content > p {
    color: #94A3B8; font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem;
}
.hardware-perks {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 2rem;
}
.hardware-perk {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px; padding: 14px 16px;
    font-weight: 600; font-size: 0.9rem;
    transition: all 0.3s;
}
.hardware-perk:hover { background: rgba(13,148,136,0.15); border-color: rgba(13,148,136,0.3); }
.hardware-perk i { color: #5EEAD4; font-size: 1.1rem; width: 24px; text-align: center; }

.promo-box {
    background: linear-gradient(135deg, rgba(251,191,36,0.15) 0%, rgba(245,158,11,0.08) 100%);
    border: 1px solid rgba(251,191,36,0.3);
    border-radius: var(--radius); padding: 24px; margin-bottom: 2rem;
}
.promo-box .promo-title {
    color: #FBBF24; font-weight: 800; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.promo-box ul { list-style: none; }
.promo-box ul li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: #E2E8F0;
}
.promo-box ul li i { color: #5EEAD4; }

.btn-hardware {
    background: linear-gradient(135deg, var(--primary) 0%, #0891B2 100%);
    color: white; padding: 16px 36px; border-radius: 50px;
    font-weight: 700; border: none; cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px;
    transition: all 0.3s; box-shadow: 0 8px 28px rgba(13,148,136,0.4);
}
.btn-hardware:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(13,148,136,0.5); }

/* Testimonials */
.testimonials { padding: 100px 5%; background: white; }
.testimonials-grid {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
    background: var(--light); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px;
    transition: all 0.35s; position: relative;
}
.testimonial-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-md);
    border-color: rgba(13,148,136,0.25);
}
.testimonial-card.featured {
    background: linear-gradient(135deg, #F0FDFA 0%, white 100%);
    border-color: rgba(13,148,136,0.3);
    grid-row: span 1;
}
.quote-icon {
    font-size: 2rem; color: var(--primary); opacity: 0.3; margin-bottom: 12px;
}
.testimonial-card .stars { color: #FBBF24; font-size: 0.9rem; margin-bottom: 14px; }
.testimonial-card blockquote {
    font-size: 0.95rem; color: var(--text); line-height: 1.7;
    font-weight: 500; margin-bottom: 20px; font-style: normal;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #0891B2);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 800; font-size: 0.9rem;
}
.author-info .name { font-weight: 800; color: var(--secondary); font-size: 0.9rem; }
.author-info .role { font-size: 0.8rem; color: var(--gray); font-weight: 500; }

/* Pricing Preview */
.pricing-preview {
    padding: 100px 5%;
    background: linear-gradient(180deg, var(--light) 0%, #F0FDFA 100%);
}
.pricing-cards {
    max-width: 1100px; margin: 0 auto 2.5rem;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.price-preview-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px 20px;
    text-align: center; position: relative;
    transition: all 0.35s;
}
.price-preview-card:hover {
    transform: translateY(-8px); box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.price-preview-card.popular {
    background: linear-gradient(135deg, #F0FDFA 0%, white 100%);
    border: 2px solid var(--primary);
    transform: scale(1.04); z-index: 2;
    box-shadow: var(--shadow-xl);
}
.price-preview-card.popular:hover { transform: scale(1.04) translateY(-8px); }
.price-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: white;
    padding: 5px 16px; border-radius: 50px;
    font-size: 0.72rem; font-weight: 800; white-space: nowrap;
    letter-spacing: 0.3px;
}
.price-preview-card h4 {
    font-size: 0.85rem; color: var(--gray); font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
    margin-top: 8px;
}
.price-preview-card .amount {
    font-size: 1.6rem; font-weight: 900; color: var(--secondary);
    letter-spacing: -0.5px;
}
.price-preview-card .bonus {
    font-size: 0.8rem; color: var(--primary-dark); font-weight: 700; margin-top: 8px;
}
.pricing-cta { text-align: center; }

/* Video */
.video-section {
    padding: 100px 5%; background: white;
    border-top: 1px solid var(--border);
}
.videos-wrapper {
    max-width: 1200px; margin: 0 auto;
    display: flex; flex-wrap: wrap; gap: 32px;
    justify-content: center; align-items: center;
}
.video-main-container {
    flex: 1; min-width: 320px; max-width: 780px;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
    position: relative; aspect-ratio: 16/9; background: #000;
}
.video-main-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-shorts-container {
    width: 280px; flex-shrink: 0;
    border-radius: 24px; overflow: hidden;
    box-shadow: var(--shadow-lg); border: 5px solid var(--secondary);
    position: relative; aspect-ratio: 9/16; background: #000;
}
.video-shorts-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* CTA Banner */
.cta-banner {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--secondary) 0%, #1E293B 100%);
    text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(13,148,136,0.25), transparent 60%);
}
.cta-banner h2 {
    color: white; font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900; letter-spacing: -0.5px; margin-bottom: 1rem;
    position: relative;
}
.cta-banner p {
    color: #94A3B8; font-size: 1.05rem; margin-bottom: 2rem;
    position: relative;
}
.cta-banner .btn-hero { position: relative; }

/* Footer */
footer {
    background: #0B1120; color: #64748B;
    padding: 48px 5% 32px; text-align: center;
}
footer .footer-logo img { height: 48px; margin-bottom: 16px; opacity: 0.9; }
footer p { font-size: 0.9rem; font-weight: 500; line-height: 1.7; }
footer .footer-links {
    display: flex; justify-content: center; gap: 24px;
    margin-bottom: 20px; flex-wrap: wrap;
}
footer .footer-links a {
    color: #94A3B8; text-decoration: none; font-weight: 600;
    font-size: 0.9rem; transition: color 0.2s;
}
footer .footer-links a:hover { color: var(--primary); }

/* Modals */
.modal {
    display: none; position: fixed; z-index: 2000; inset: 0;
    background: rgba(15,23,42,0.65); backdrop-filter: blur(10px);
    overflow-y: auto; padding: 20px 0;
}
.modal-content {
    background: white; margin: auto; padding: 40px;
    border-radius: var(--radius-lg); width: 90%; max-width: 550px;
    position: relative; text-align: center;
    box-shadow: 0 32px 64px rgba(0,0,0,0.25);
    animation: modalPop 0.35s cubic-bezier(0.22,1,0.36,1);
}
@keyframes modalPop {
    0% { transform: scale(0.92) translateY(20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-content.large { max-width: 960px; }
.close {
    position: absolute; top: 18px; right: 18px;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--light); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--gray); transition: 0.2s; line-height: 1;
}
.close:hover { background: #FEE2E2; color: var(--accent); border-color: #FECACA; }
.modal-title {
    color: var(--secondary); margin-bottom: 24px;
    font-size: 1.7rem; font-weight: 900; letter-spacing: -0.5px;
}

.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.download-item {
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 10px; border: 1px solid var(--border);
    border-radius: 18px; text-decoration: none; color: var(--secondary);
    transition: 0.3s; background: var(--light);
}
.download-item:hover { border-color: var(--primary); background: white; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.download-item i { font-size: 2rem; margin-bottom: 10px; }
.download-item.desktop i { color: #0078D7; }
.download-item.android i { color: #3DDC84; }
.download-item.ios i { color: #000; }
.download-item span { font-weight: 800; font-size: 1rem; }
.download-item small { font-size: 0.8rem; color: var(--gray); margin-top: 4px; font-weight: 500; }

.btn-register-modal {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(135deg, #FF1A1A 0%, #CC0000 100%);
    color: white; padding: 16px; border-radius: 16px;
    font-weight: 800; font-size: 1.05rem; text-decoration: none;
    margin-bottom: 24px; border: none; cursor: pointer; width: 100%;
    box-shadow: 0 4px 20px rgba(255,0,0,0.4);
    transition: all 0.3s;
}
.btn-register-modal:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,0,0,0.5); }

.tools-divider { margin-top: 24px; padding-top: 24px; border-top: 1px dashed var(--border); text-align: left; }
.tools-title {
    font-size: 0.85rem; color: var(--gray); font-weight: 700;
    margin-bottom: 14px; display: block; text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-tool {
    display: flex; align-items: center; gap: 12px;
    background: white; color: var(--secondary);
    padding: 13px 16px; border-radius: 14px; text-decoration: none;
    font-weight: 600; font-size: 0.92rem; margin-bottom: 10px;
    border: 1px solid var(--border); transition: 0.2s;
}
.btn-tool:hover { background: var(--light); border-color: var(--primary); }
.btn-tool i { color: var(--primary); font-size: 1.1rem; width: 22px; text-align: center; }
.dll-options { display: none; padding-left: 14px; margin-top: -4px; margin-bottom: 4px; border-left: 2px solid var(--border); margin-left: 22px; }
.dll-options.active { display: block; animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.btn-sub-tool { padding: 10px 12px; font-size: 0.88rem; margin-bottom: 6px; border: none; background: transparent; }
.btn-sub-tool:hover { background: var(--primary-light); color: var(--primary-dark); }

.pricing-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px; margin-bottom: 32px;
}
.price-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px 16px;
    transition: 0.35s; position: relative;
    display: flex; flex-direction: column; justify-content: center;
}
.price-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.price-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, #F0FDFA 0%, white 100%);
    transform: scale(1.05); z-index: 2; box-shadow: var(--shadow-xl);
}
.price-card.featured:hover { transform: scale(1.05) translateY(-5px); }
.badge-popular {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: white;
    padding: 5px 18px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 800; white-space: nowrap;
}
.price-card h4 { color: var(--gray); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; font-weight: 800; }
.price-new { color: var(--secondary); font-size: 1.6rem; font-weight: 900; letter-spacing: -0.5px; }
.price-card.featured .price-new { color: var(--primary-dark); }

/* Viền riêng cho gói 3 năm và 4 năm */
.price-preview-card.plan-3-year {
    border: 2px solid #F59E0B;
}

.price-preview-card.plan-4-year {
    border: 2px solid var(--accent);
}

.addon-card {
    background: white; border: 1px solid var(--border);
    border-radius: 18px; padding: 18px; margin-bottom: 14px; text-align: center;
}
.addon-card h4 { color: var(--secondary); font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.addon-card p { color: var(--primary-dark); font-weight: 700; font-size: 1rem; }
.addon-card p span { color: var(--gray); font-size: 0.85rem; font-weight: 500; margin: 0 8px; }

.commitment-box {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 20px; margin: 28px 0 32px;
}
.commitment-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.95rem; font-weight: 700; color: var(--secondary);
}
.commitment-item i { color: var(--primary); }

.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-btn {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 16px; border-radius: 18px; text-decoration: none;
    font-weight: 800; font-size: 1.05rem; color: white;
    transition: 0.3s; box-shadow: var(--shadow-md);
}
.contact-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); filter: brightness(1.08); }
.btn-call { background: var(--secondary); }
.btn-zalo { background: #0068FF; }

/* Floating */
.floating-contact {
    position: fixed; bottom: 28px; right: 20px;
    display: flex; flex-direction: column; gap: 14px; z-index: 999;
}
.float-btn {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; text-decoration: none; box-shadow: var(--shadow-lg);
    transition: all 0.3s; font-size: 24px; position: relative;
}
.float-btn:hover { transform: scale(1.12); }
.float-btn::before {
    content: attr(data-tooltip); position: absolute; right: 68px;
    background: var(--secondary); color: white;
    padding: 7px 12px; border-radius: 10px;
    font-size: 12px; font-weight: 700; white-space: nowrap;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.float-btn:hover::before { opacity: 1; visibility: visible; right: 64px; }
.btn-float-zalo { background: #0068FF; font-weight: 900; font-family: sans-serif; font-size: 18px !important; }
.btn-float-phone { background: var(--accent); animation: pulse-ring 2s infinite; }
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
    70% { box-shadow: 0 0 0 14px rgba(239,68,68,0); }
    100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

/* Desktop — tăng kích thước ảnh */
@media (min-width: 1025px) {
    .hero-mockup { max-width: 620px; padding: 12px 64px 20px; }
    .hero-ipad .ipad-screen img { max-height: 380px; }
    .mockup-float .iphone-frame { width: 130px; }
    .mockup-float-left { left: -36px; }
    .mockup-float-right { right: -36px; }
    .mobile-showcase-item .iphone-static { width: 220px; }
    .bento-card.has-preview { min-height: 230px; align-items: center; }
    .bento-preview { height: 205px; min-height: 205px; }
    .bento-preview-ipad .ipad-frame { height: 100%; display: flex; flex-direction: column; }
    .bento-preview-ipad .ipad-screen { flex: 1; min-height: 0; }
    .bento-preview-ipad .ipad-screen img { height: 100%; object-fit: contain; object-position: top; }
    .bento-preview-phone { height: auto; max-width: 120px; align-self: center; }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-trust-mini { justify-content: center; }
    .hero-mockup { max-width: 420px; margin: 0 auto; padding: 10px 16px; }
    .hero-ipad { transform: none; }
    .hero-ipad .ipad-screen img { max-height: 240px; }
    .mockup-float .iphone-frame { width: 88px; }
    .mockup-float-left { left: 0; bottom: 2%; }
    .mockup-float-right { right: 0; top: 8%; }
    .bento-card.has-preview { grid-template-columns: 1fr; min-height: auto; padding: 32px; }
    .bento-preview { height: auto; min-height: 0; margin-top: 8px; }
    .bento-preview-ipad { max-width: 280px; }
    .bento-preview-phone { max-width: 130px; margin: 0 auto; }
    .mobile-showcase-item .iphone-static { width: 150px; }
    .mobile-showcase { grid-template-columns: 1fr; gap: 36px; }
    .bento-card.span-4, .bento-card.span-6, .bento-card.span-8 { grid-column: span 6; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-cards, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .price-preview-card.popular { transform: none; }
    .hardware-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    header { padding: 12px 5%; }
    .login-btn { display: none; }
    .menu-toggle { display: block; font-size: 1.5rem; color: var(--secondary); cursor: pointer; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
        flex-direction: column; padding: 24px 20px;
        border-top: 1px solid var(--border); box-shadow: var(--shadow-lg);
        text-align: center; gap: 18px;
    }
    .nav-links.active { display: flex; }
    .nav-links .mobile-login { display: inline-flex; justify-content: center; width: 100%; }

    .hero { padding: 120px 5% 60px; min-height: auto; }
    .mockup-float .iphone-frame { width: 76px; }
    .mockup-float-left { left: 0; }
    .mockup-float-right { right: 0; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
    .btn-hero, .btn-outline { width: 100%; justify-content: center; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-card { padding: 20px 16px; }
    .stat-card .number { font-size: 1.6rem; }

    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.span-4, .bento-card.span-6, .bento-card.span-8, .bento-card.span-12 { grid-column: span 1; }

    .showcase-grid { grid-template-columns: 1fr; }
    .showcase-item.large { grid-column: span 1; }

    .hardware-perks { grid-template-columns: 1fr; }
    .hardware-glass-card { position: static; margin-top: 16px; }

    .pricing-cards, .pricing-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .price-card.featured:hover { transform: translateY(-5px); }
    .price-preview-card.popular { transform: none; }

    .download-grid { grid-template-columns: 1fr; }
    .commitment-box { flex-direction: column; align-items: flex-start; }
    .videos-wrapper { flex-direction: column; }
    .video-shorts-container { width: 100%; max-width: 320px; }
}
