/**
 * ResIQ Landing Page Styles
 * Marketing page for ResIQ by Hostizzy
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #06b6d4;
    --primary-lighter: #22d3ee;
    --brand-navy: #1B3A5C;
    --brand-navy-light: #2A5080;
    --brand-orange: #E8943A;
    --brand-orange-light: #F0A85C;
    --brand-coral: #FE5858;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --surface: #ffffff;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --border: #e2e8f0;
    --success: #059669;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 50px -5px rgba(0,0,0,0.15);
    --max-width: 1100px;
    --announcement-height: 40px;
}

[data-theme="dark"] {
    --bg: #0f172a;
    --bg-alt: #1e293b;
    --surface: #1e293b;
    --text: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --border: #334155;
    --shadow: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.4);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   ANNOUNCEMENT BANNER
   ============================================ */
.announcement-bar {
    background: linear-gradient(90deg, #E8943A 0%, #d97706 100%);
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    position: relative;
    z-index: 1001;
}

.announcement-bar a.announcement-cta:hover {
    color: white;
    opacity: 0.9;
}

.announcement-bar button:hover {
    color: white;
}

/* ============================================
   NAVBAR
   ============================================ */
.landing-nav {
    position: fixed;
    top: var(--announcement-height, 0);
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    transition: all 0.3s ease;
    background: transparent;
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: var(--shadow-md);
    padding: 12px 24px;
    top: 0;
}

[data-theme="dark"] .landing-nav.scrolled {
    background: rgba(15, 23, 42, 0.95);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-brand-text {
    font-size: 20px;
    font-weight: 800;
    color: white;
    transition: color 0.3s;
}

.landing-nav.scrolled .nav-brand-text {
    color: var(--text);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.landing-nav.scrolled .nav-links a {
    color: var(--text-secondary);
}

.landing-nav.scrolled .nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.landing-nav.scrolled .nav-cta {
    background: var(--brand-orange) !important;
    border-color: var(--brand-orange) !important;
    color: white !important;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.landing-nav.scrolled .nav-hamburger span {
    background: var(--text);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1B3A5C 40%, #0891b2 100%);
    position: relative;
    overflow: hidden;
    padding: 160px 24px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

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

.hero h1 {
    font-size: 50px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 span {
    display: block;
    color: white;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #E8943A 0%, #F0A85C 100%);
    color: white;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(232, 148, 58, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 148, 58, 0.5);
    color: white;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: white;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup {
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    transition: transform 0.5s ease;
}

.hero-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 14px;
}

.mockup-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.mockup-title {
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.mockup-stat {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}

.mockup-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: white;
}

.mockup-stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}

.mockup-chart {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    height: 100px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.mockup-bar {
    flex: 1;
    background: linear-gradient(to top, rgba(255,255,255,0.3), rgba(255,255,255,0.6));
    border-radius: 3px 3px 0 0;
    animation: grow-bar 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes grow-bar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--bg-alt);
    padding: 48px 24px;
    border-bottom: 1px solid var(--border);
}

.stats-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item-landing {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.25s;
}

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

.stat-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--brand-navy), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: white;
    box-shadow: 0 3px 10px rgba(27, 58, 92, 0.2);
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--brand-navy);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

[data-theme="dark"] .stat-number {
    color: var(--primary-lighter);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section-landing {
    padding: 80px 24px;
}

.section-landing.alt {
    background: var(--bg-alt);
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.section-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(8, 145, 178, 0.1);
    color: var(--primary);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 14px;
}

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

/* ============================================
   WORKFLOW — Horizontal timeline
   ============================================ */
.workflow-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    gap: 0;
    position: relative;
}

.workflow-step {
    flex: 1;
    text-align: center;
    padding: 0 12px;
    position: relative;
}

/* connector line between steps */
.workflow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -4px;
    width: calc(50%);
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.workflow-step:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 24px;
    left: -4px;
    width: calc(50%);
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.workflow-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-navy), var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    margin: 0 auto 14px;
    position: relative;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(27, 58, 92, 0.3);
    border: 3px solid var(--bg);
}

.workflow-content h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.workflow-content p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.workflow-connector {
    display: none;
}

/* ============================================
   FEATURES — 2-col wide cards
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.25s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-card::before {
    display: none;
}

.feature-icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(6, 182, 212, 0.05));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.feature-icon-box svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

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

/* ============================================
   PORTALS — Horizontal cards
   ============================================ */
.portals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.25s;
}

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

.portal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-navy), var(--primary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 6px 18px rgba(27, 58, 92, 0.25);
}

.portal-icon svg {
    width: 28px;
    height: 28px;
}

.portal-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
}

.portal-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.portal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.portal-link:hover {
    gap: 10px;
}

/* ============================================
   HOW IT WORKS — 3 steps
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--primary), var(--border));
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--brand-navy), var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px rgba(27, 58, 92, 0.3);
    border: 4px solid var(--bg-alt);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

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

/* ============================================
   TECHNOLOGY — Inline horizontal bar
   ============================================ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.tech-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.25s;
}

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

.tech-logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(6, 182, 212, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.tech-logo svg {
    width: 24px;
    height: 24px;
}

.tech-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.tech-card p {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ============================================
   SECURITY — 2x2 compact cards
   ============================================ */
.security-section {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

[data-theme="dark"] .security-section {
    background: var(--bg);
}

.security-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    text-align: center;
}

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

.security-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.security-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(5, 150, 105, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon svg {
    width: 18px;
    height: 18px;
}

.security-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.security-item p {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* ============================================
   OFFLINE USP — Split layout
   ============================================ */
.offline-section {
    padding: 80px 24px;
    background: var(--bg-alt);
}

.offline-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.offline-content {
    max-width: 520px;
}

.offline-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.offline-content h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 12px;
}

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

.offline-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.offline-features li {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: var(--text);
    line-height: 1.4;
}

.offline-features li svg {
    min-width: 20px;
    width: 20px;
    height: 20px;
}

.offline-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.offline-graphic {
    width: 100%;
    max-width: 300px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
}

.offline-phone {
    width: 160px;
    height: 280px;
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 24px;
    margin: 0 auto 20px;
    padding: 14px 10px;
    position: relative;
    box-shadow: var(--shadow-md);
}

.offline-phone-notch {
    width: 50px;
    height: 5px;
    background: var(--border);
    border-radius: 3px;
    margin: 0 auto 14px;
}

.offline-phone-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.offline-phone-bar {
    height: 8px;
    background: linear-gradient(90deg, rgba(8, 145, 178, 0.15), rgba(8, 145, 178, 0.08));
    border-radius: 4px;
}

.offline-phone-bar:nth-child(2) { width: 85%; }
.offline-phone-bar:nth-child(3) { width: 70%; }
.offline-phone-bar:nth-child(4) { width: 90%; }
.offline-phone-bar:nth-child(5) { width: 60%; }

.offline-phone-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #059669;
    color: white;
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.25);
}

.offline-signal-bars {
    display: flex;
    justify-content: center;
    gap: 3px;
    align-items: flex-end;
}

.offline-signal-bars span {
    width: 5px;
    background: var(--border);
    border-radius: 2px;
}

.offline-signal-bars span:nth-child(1) { height: 6px; }
.offline-signal-bars span:nth-child(2) { height: 12px; }
.offline-signal-bars span:nth-child(3) { height: 18px; }
.offline-signal-bars span:nth-child(4) { height: 24px; }

.offline-signal-label {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 6px;
    font-weight: 600;
}

/* ============================================
   DOWNLOAD / APP SECTION
   ============================================ */
.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.download-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.25s;
}

.download-card:hover {
    box-shadow: var(--shadow-md);
}

.download-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--brand-navy), var(--primary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(27, 58, 92, 0.25);
}

.download-icon svg {
    width: 24px;
    height: 24px;
}

.download-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text);
}

.download-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.coming-soon-badge {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    color: white;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   HOSTIZZY BRAND BANNER
   ============================================ */
.hostizzy-banner {
    background: linear-gradient(135deg, #1B3A5C 0%, #0e2a45 40%, #1a1a2e 100%);
    padding: 72px 24px;
    position: relative;
    overflow: hidden;
}

.hostizzy-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hostizzy-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 148, 58, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hostizzy-banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hostizzy-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hostizzy-banner-content h2 {
    font-size: 32px;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 14px;
}

.hostizzy-banner-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 520px;
}

.hostizzy-banner-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-hostizzy-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--brand-orange);
    color: white;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.25s;
    box-shadow: 0 3px 12px rgba(232, 148, 58, 0.3);
}

.btn-hostizzy-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 148, 58, 0.4);
    color: white;
}

.btn-hostizzy-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s;
}

.btn-hostizzy-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.hostizzy-social-strip {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hostizzy-social-strip span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.hostizzy-social-strip a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.25s;
}

.hostizzy-social-strip a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

/* Product cards on the right */
.hostizzy-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.hostizzy-product-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: all 0.25s;
    overflow: hidden;
}

.hostizzy-product-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.hostizzy-product-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    max-width: 42px;
    flex: 0 0 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hostizzy-product-icon.icon-resiq {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.hostizzy-product-icon.icon-hostos {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.hostizzy-product-icon.icon-juxtravel {
    background: linear-gradient(135deg, #E8943A, #F0A85C);
}

.hostizzy-product-text {
    min-width: 0;
}

.hostizzy-product-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}

.hostizzy-product-text p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    margin: 0;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, #1B3A5C 0%, #0e4a6f 50%, #0891b2 100%);
    padding: 64px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: 30px;
    font-weight: 900;
    color: white;
    margin-bottom: 12px;
    line-height: 1.2;
}

.cta-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

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

/* ============================================
   FOOTER
   ============================================ */
.landing-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 56px 24px 28px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.footer-brand-name {
    font-size: 18px;
    font-weight: 800;
    color: white;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--brand-orange);
    color: white;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    padding: 5px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   NAVBAR — Dual CTA buttons
   ============================================ */
.nav-cta-secondary {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 10px;
    color: white !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.nav-cta-primary {
    padding: 10px 24px;
    background: var(--brand-orange) !important;
    border: 1px solid var(--brand-orange) !important;
    border-radius: 10px;
    color: white !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.nav-cta-primary:hover {
    background: var(--brand-orange-light) !important;
    transform: translateY(-1px);
}

.landing-nav.scrolled .nav-cta-secondary {
    background: transparent !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

.landing-nav.scrolled .nav-cta-secondary:hover {
    background: var(--bg-alt) !important;
}

.landing-nav.scrolled .nav-cta-primary {
    background: var(--brand-orange) !important;
    border-color: var(--brand-orange) !important;
    color: white !important;
}

/* ============================================
   FEATURE ICON — Orange variant
   ============================================ */
.feature-icon-orange {
    background: linear-gradient(135deg, rgba(232, 148, 58, 0.12), rgba(232, 148, 58, 0.05)) !important;
}

/* ============================================
   SIGNUP SECTION
   ============================================ */
.signup-section {
    background: linear-gradient(135deg, #1B3A5C 0%, #0e4a6f 50%, #0e7490 100%);
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

.signup-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.section-tag-light {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.section-title-light {
    color: white;
}

.section-subtitle-light {
    color: rgba(255, 255, 255, 0.75);
}

.signup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: var(--max-width);
    margin: 0 auto;
}

.signup-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 480px;
}

[data-theme="dark"] .signup-card {
    background: var(--surface);
    border: 1px solid var(--border);
}

.signup-card-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

[data-theme="dark"] .signup-card-title {
    color: var(--text);
}

.signup-card-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.signup-form-group {
    margin-bottom: 16px;
}

.signup-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

[data-theme="dark"] .signup-form-group label {
    color: var(--text-secondary);
}

.signup-form-group label .required {
    color: #ef4444;
}

.signup-form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #1f2937;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

[data-theme="dark"] .signup-form-group input {
    background: var(--bg);
    border-color: var(--border);
    color: var(--text);
}

.signup-form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
}

.signup-form-group input::placeholder {
    color: #9ca3af;
}

.signup-password-wrap {
    position: relative;
}

.signup-password-wrap input {
    padding-right: 44px;
}

.signup-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 4px;
}

.signup-password-toggle:hover {
    color: var(--primary);
}

.signup-message {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

.signup-message-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

[data-theme="dark"] .signup-message-error {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
}

.signup-btn {
    width: 100%;
    padding: 13px 24px;
    background: var(--brand-orange);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s;
}

.signup-btn:hover {
    background: var(--brand-orange-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 148, 58, 0.3);
}

.signup-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.signup-login-link {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 16px;
}

.signup-login-link a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.signup-login-link a:hover {
    text-decoration: underline;
}

/* Signup Success Card */
.signup-success-card {
    text-align: center;
    max-width: 480px;
}

.signup-success-icon {
    margin-bottom: 20px;
}

.signup-success-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.signup-success-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* How It Works Steps (right side) */
.signup-steps {
    padding-top: 16px;
}

.signup-steps-title {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 32px;
}

.signup-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.signup-step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: white;
}

.signup-step h4 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.signup-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.signup-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero h1 { font-size: 40px; }

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

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

    .hero-mockup {
        max-width: 340px;
        transform: none;
    }

    .hero-mockup:hover {
        transform: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .signup-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .signup-card {
        max-width: 100%;
    }

    .portals-grid,
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-grid::before {
        display: none;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .workflow-step {
        flex: 0 0 30%;
    }

    .workflow-step::after,
    .workflow-step::before {
        display: none;
    }

    .offline-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .offline-content {
        max-width: none;
    }

    .offline-features {
        max-width: 400px;
        margin: 0 auto;
        text-align: left;
    }

    .hostizzy-banner-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hostizzy-banner-content p {
        max-width: none;
    }

    .hostizzy-banner-buttons {
        justify-content: center;
    }

    .hostizzy-social-strip {
        justify-content: center;
    }

    .hostizzy-products {
        flex-direction: row;
        gap: 12px;
    }

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

@media (max-width: 768px) {
    .announcement-bar {
        font-size: 12px;
    }

    .announcement-badge {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: block;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        padding: 20px;
        gap: 12px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 14px 14px;
    }

    .nav-links.open a {
        color: var(--text) !important;
        font-size: 15px;
        padding: 6px 0;
    }

    .hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }

    .hero h1 { font-size: 32px; }
    .hero-subtitle { font-size: 15px; }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .stats-bar-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-item-landing {
        padding: 20px 14px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .stat-icon svg {
        width: 18px;
        height: 18px;
    }

    .stat-number { font-size: 28px; }

    .section-landing { padding: 56px 20px; }
    .section-title { font-size: 26px; }
    .section-subtitle { font-size: 15px; }
    .section-header { margin-bottom: 40px; }

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

    .signup-section {
        padding: 64px 20px;
    }

    .signup-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .signup-card {
        padding: 28px 24px;
    }

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

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .security-section { padding: 20px; }

    .workflow-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .workflow-step {
        flex: auto;
        flex-direction: row;
        text-align: left;
        gap: 14px;
        padding: 10px 0;
    }

    .workflow-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
        margin: 0;
        border-width: 2px;
    }

    .workflow-step::after,
    .workflow-step::before {
        display: none;
    }

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

    .offline-content h2 { font-size: 26px; }

    .hostizzy-banner { padding: 48px 20px; }

    .hostizzy-banner-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .hostizzy-banner-content h2 { font-size: 24px; }

    .hostizzy-banner-content p {
        max-width: none;
        font-size: 14px;
    }

    .hostizzy-banner-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hostizzy-social-strip {
        justify-content: center;
    }

    .hostizzy-products {
        flex-direction: column;
    }

    .cta-banner h2 { font-size: 24px; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .hero h1 { font-size: 28px; }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 13px 22px;
        font-size: 14px;
    }

    .stat-number { font-size: 28px; }
}
