/* =====================================================
   LogifyCRM Landing 2025
   Reset + Tokens
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #020817;
    --bg-alt: #040c1f;
    --bg-soft: #09122d;
    --surface: rgba(12, 18, 38, 0.72);
    --surface-strong: rgba(12, 18, 38, 0.9);
    --border: rgba(148, 163, 184, 0.18);
    --border-strong: rgba(148, 163, 184, 0.35);
    --primary: #6366f1;
    --primary-bright: #60a5fa;
    --primary-soft: rgba(99, 102, 241, 0.18);
    --accent: #f97316;
    --accent-soft: rgba(249, 115, 22, 0.14);
    --success: #34d399;
    --text: #f8fafc;
    --text-strong: #e2e8f0;
    --text-muted: #94a3b8;
    --text-soft: #cbd5f5;
    --white: #ffffff;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 40px;
    --shadow-soft: 0 30px 80px rgba(15, 23, 42, 0.45);
    --shadow-hover: 0 40px 90px rgba(99, 102, 241, 0.25);
    --shadow-card: 0 20px 50px rgba(15, 23, 42, 0.35);
    --transition: all 0.35s ease;
}

html {
    scroll-behavior: smooth;
    background: radial-gradient(circle at top, rgba(99, 102, 241, 0.15), transparent 55%), var(--bg);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: transparent;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

body.theme-aurora::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(96, 165, 250, 0.15), transparent 35%),
                radial-gradient(circle at 85% 10%, rgba(99, 102, 241, 0.18), transparent 35%),
                radial-gradient(circle at 50% 90%, rgba(249, 115, 22, 0.08), transparent 45%);
    z-index: -2;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

section {
    padding: clamp(80px, 12vw, 140px) 0;
}

.section-header {
    max-width: 680px;
    margin: 0 auto clamp(48px, 10vw, 72px);
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.18);
    color: var(--primary-bright);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(120deg, var(--primary-bright) 0%, #38bdf8 60%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: var(--transition);
    cursor: pointer;
    color: inherit;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::after {
    opacity: 1;
}

.btn-large {
    padding: 16px 28px;
    font-size: 1.02rem;
    border-radius: 16px;
}

.btn-small {
    padding: 10px 18px;
    font-size: 0.9rem;
    border-radius: 12px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-bright) 100%);
    color: var(--white);
    box-shadow: 0 20px 45px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 55px rgba(99, 102, 241, 0.45);
}

.btn-ghost {
    background: rgba(99, 102, 241, 0.08);
    color: var(--text);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.btn-ghost:hover {
    border-color: rgba(96, 165, 250, 0.55);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: var(--text);
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.12);
}

.btn-block {
    width: 100%;
}

/* =====================================================
   Navbar
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    backdrop-filter: blur(24px);
    background: rgba(4, 8, 18, 0.8);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(4, 9, 21, 0.92);
    border-bottom: 1px solid rgba(99, 102, 241, 0.12);
    box-shadow: 0 15px 40px rgba(2, 8, 23, 0.35);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--text);
}

.navbar-brand {
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}

.navbar-menu {
    display: none;
    align-items: center;
    gap: 18px;
}

.navbar-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
}

.navbar-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

.navbar-link--ghost {
    color: rgba(226, 232, 240, 0.78);
}

.navbar-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    background: rgba(4, 8, 18, 0.75);
    cursor: pointer;
    transition: var(--transition);
}

.navbar-toggle span {
    height: 2px;
    width: 20px;
    margin: 0 auto;
    background: var(--text);
    transition: var(--transition);
}

.navbar-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.navbar-menu.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 4vw;
    left: 4vw;
    padding: 24px;
    border-radius: 24px;
    background: rgba(9, 18, 41, 0.94);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-card);
}

.navbar-menu.mobile-active .btn {
    width: 100%;
    justify-content: center;
}

@media (min-width: 1024px) {
    .navbar-menu {
        display: flex;
    }

    .navbar-toggle {
        display: none;
    }
}

/* =====================================================
   Hero
   ===================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: clamp(120px, 18vh, 160px);
    padding-bottom: clamp(80px, 14vh, 160px);
    display: flex;
    align-items: center;
}

.hero-sheen {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(99, 102, 241, 0.2) 0%, transparent 30%),
                linear-gradient(25deg, rgba(14, 116, 144, 0.18) 0%, transparent 45%);
    opacity: 0.6;
    z-index: -1;
}

.hero-orb {
    position: absolute;
    width: clamp(220px, 30vw, 420px);
    height: clamp(220px, 30vw, 420px);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    z-index: -1;
}

.hero-orb--primary {
    top: 6%;
    right: 8%;
    background: rgba(99, 102, 241, 0.58);
}

.hero-orb--accent {
    bottom: 4%;
    left: -6%;
    background: rgba(249, 115, 22, 0.38);
}

.hero-content {
    display: grid;
    gap: clamp(40px, 6vw, 80px);
}

@media (min-width: 992px) {
    .hero-content {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vw, 32px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.18);
    color: var(--primary-bright);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.8);
}

.hero-title {
    font-size: clamp(2.7rem, 6vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    max-width: 520px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.hero-avatars {
    display: flex;
    align-items: center;
}

.hero-avatars .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--white);
    margin-left: -12px;
    font-size: 0.85rem;
}

.hero-avatars .avatar:first-child {
    margin-left: 0;
}

.hero-rating {
    font-size: 0.95rem;
    color: var(--text-soft);
}

.hero-rating strong {
    color: var(--text);
}

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

.hero-stats .stat-item {
    background: rgba(12, 18, 38, 0.65);
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 20px;
    padding: 18px 22px;
    backdrop-filter: blur(20px);
    min-width: 160px;
    transition: transform 0.3s ease;
}

.hero-stats .stat-item:hover {
    transform: translateY(-6px);
}

.hero-stats .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-stats .stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hero-visual {
    position: relative;
}

.hero-preview {
    position: relative;
    padding: clamp(16px, 3vw, 24px);
    border-radius: 32px;
    background: linear-gradient(160deg, rgba(99, 102, 241, 0.12) 0%, rgba(15, 23, 42, 0.95) 65%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: var(--shadow-card);
}

.hero-preview img {
    border-radius: 18px;
}

.hero-floating-card {
    position: absolute;
    right: -12%;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(12, 18, 38, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.22);
    box-shadow: var(--shadow-soft);
    max-width: 280px;
    backdrop-filter: blur(22px);
    animation: float 6s ease-in-out infinite;
}

.hero-floating-card--top {
    top: -12%;
}

.hero-floating-card--bottom {
    bottom: -10%;
    animation-delay: 2s;
}

.hero-floating-card .card-kicker {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.25);
    color: var(--primary-bright);
    font-size: 0.75rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.hero-floating-card .metric-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.hero-floating-card .metric-value {
    font-size: 1.3rem;
    font-weight: 700;
}

.hero-floating-card .metric-trend {
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 600;
}

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

.hero-marquee {
    margin-top: clamp(48px, 8vw, 80px);
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 999px;
    padding: 12px 0;
    background: rgba(9, 18, 41, 0.6);
}

.marquee-track {
    display: flex;
    gap: 48px;
    animation: marquee 18s linear infinite;
    font-size: 0.95rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =====================================================
   Features
   ===================================================== */
.feature-grid {
    display: grid;
    gap: clamp(20px, 4vw, 32px);
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.feature-card {
    position: relative;
    padding: clamp(22px, 4vw, 28px);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(12, 18, 38, 0.88) 0%, rgba(9, 14, 30, 0.96) 100%);
    border: 1px solid rgba(99, 102, 241, 0.18);
    box-shadow: 0 18px 45px rgba(8, 11, 25, 0.45);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.35), rgba(96, 165, 250, 0.2), rgba(192, 132, 252, 0.25));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover,
.feature-card.is-hovered {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::after,
.feature-card.is-hovered::after {
    opacity: 1;
}

.feature-card h3 {
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: rgba(99, 102, 241, 0.18);
    display: grid;
    place-items: center;
    color: var(--primary-bright);
    margin-bottom: 8px;
}

.feature-points {
    list-style: none;
    display: grid;
    gap: 8px;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.feature-points li::before {
    content: '•';
    margin-right: 8px;
    color: var(--primary-bright);
}

.feature-chip {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(96, 165, 250, 0.18);
    color: var(--primary-bright);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =====================================================
   Dashboard / Tabs
   ===================================================== */
.dashboard-section {
    background: linear-gradient(180deg, rgba(7, 12, 27, 0.92) 0%, rgba(4, 8, 18, 0.98) 100%);
}

.dashboard-layout {
    display: grid;
    gap: clamp(36px, 6vw, 64px);
}

@media (min-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 0.95fr 1.05fr;
        align-items: center;
    }
}

.dashboard-preview {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.preview-surface {
    padding: clamp(16px, 3vw, 24px);
    border-radius: 32px;
    border: 1px solid rgba(99, 102, 241, 0.16);
    background: rgba(10, 16, 32, 0.9);
    box-shadow: var(--shadow-card);
}

.preview-surface img {
    border-radius: 18px;
}

.preview-note {
    display: flex;
    gap: 14px;
    align-items: center;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 18px;
    padding: 12px 16px;
    border: 1px solid rgba(99, 102, 241, 0.24);
    color: var(--text-soft);
    font-size: 0.9rem;
}

.preview-note span {
    background: rgba(96, 165, 250, 0.2);
    color: var(--primary-bright);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.dashboard-tabs .section-header {
    margin: 0 0 36px;
    text-align: left;
}

.tabs-header {
    display: inline-flex;
    align-items: center;
    background: rgba(12, 18, 38, 0.48);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 8px;
    border-radius: 999px;
    gap: 8px;
    margin-bottom: 28px;
    backdrop-filter: blur(16px);
}

.tab-button {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-button:hover {
    color: var(--text);
}

.tab-button.active {
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.35), rgba(96, 165, 250, 0.25));
    color: var(--white);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.45s ease;
}

.tab-card {
    background: rgba(9, 14, 30, 0.88);
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.18);
    padding: clamp(22px, 4vw, 32px);
    box-shadow: var(--shadow-card);
}

.tab-card h3 {
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.tab-list {
    list-style: none;
    display: grid;
    gap: 12px;
    color: var(--text-soft);
    font-size: 0.98rem;
}

.tab-list li {
    position: relative;
    padding-left: 20px;
}

.tab-list li::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-bright);
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.6);
}

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

/* =====================================================
   Stats
   ===================================================== */
.stats-section {
    background: linear-gradient(160deg, rgba(9, 14, 30, 0.9) 0%, rgba(2, 8, 23, 0.95) 100%);
}

.stats-grid {
    display: grid;
    gap: clamp(20px, 4vw, 28px);
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.stat-card {
    background: rgba(12, 18, 38, 0.82);
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 24px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    backdrop-filter: blur(20px);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.45);
}

.stat-icon {
    font-size: 1.8rem;
}

.stat-value {
    font-size: 2.3rem;
    font-weight: 700;
}

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

.stat-hint {
    font-size: 0.9rem;
    color: var(--primary-bright);
    font-weight: 600;
}

/* =====================================================
   Pricing
   ===================================================== */
.pricing-section {
    background: radial-gradient(circle at 10% 10%, rgba(96, 165, 250, 0.15), transparent 45%), var(--bg);
}

.pricing-grid {
    display: grid;
    gap: clamp(20px, 4vw, 30px);
}

.pricing-grid--single {
    justify-content: center;
    justify-items: center;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pricing-grid--single {
        grid-template-columns: minmax(0, 520px);
    }
}

.pricing-card {
    position: relative;
    padding: clamp(28px, 4vw, 36px);
    border-radius: 30px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(9, 14, 30, 0.85);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.pricing-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(56, 189, 248, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.pricing-card:hover,
.pricing-card.is-hovered {
    transform: translateY(-12px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: var(--shadow-hover);
}

.pricing-card:hover::after,
.pricing-card.is-hovered::after {
    opacity: 1;
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.55) 0%, rgba(15, 23, 42, 0.92) 65%);
    border-color: rgba(99, 102, 241, 0.45);
}

.plan-tag {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.25);
    color: var(--primary-bright);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.6rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 2.6rem;
    font-weight: 700;
}

.plan-price .currency {
    font-size: 1.1rem;
    color: var(--text-soft);
}

.plan-price .period {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-description {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.plan-features {
    list-style: none;
    display: grid;
    gap: 10px;
    color: var(--text-soft);
    font-size: 0.96rem;
}

.plan-features li {
    position: relative;
    padding-left: 22px;
}

.plan-features li::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.45);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

/* =====================================================
   Testimonials
   ===================================================== */
.testimonials-section {
    background: linear-gradient(180deg, rgba(4, 8, 18, 0.95) 0%, rgba(9, 14, 30, 0.92) 100%);
}

.testimonials-grid {
    display: grid;
    gap: clamp(20px, 4vw, 28px);
}

@media (min-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: clamp(24px, 4vw, 30px);
    border-radius: 28px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(12, 18, 38, 0.86);
    box-shadow: var(--shadow-card);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(96, 165, 250, 0.4);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar-icon {
    width: 46px;
    height: 46px;
    border-radius: 18px;
    background: rgba(99, 102, 241, 0.25);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.rating-chip {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.2);
    color: #facc15;
    font-size: 0.8rem;
    font-weight: 600;
}

.testimonial-text {
    color: var(--text-soft);
    font-size: 1rem;
}

.testimonial-metric {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 600;
    color: var(--primary-bright);
    letter-spacing: 0.04em;
}

.testimonial-metric span {
    font-size: 1.1rem;
}

/* =====================================================
   CTA
   ===================================================== */
.cta-section {
    background: radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.25), transparent 50%), var(--bg-alt);
}

.cta-surface {
    text-align: center;
    padding: clamp(36px, 6vw, 60px);
    border-radius: 36px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    background: rgba(9, 14, 30, 0.9);
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 20px;
}

.cta-surface h2 {
    font-size: clamp(2.1rem, 4vw, 3rem);
}

.cta-surface p {
    color: var(--text-soft);
}

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

.cta-note {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* =====================================================
   Footer
   ===================================================== */
.footer-section {
    background: rgba(2, 6, 15, 0.98);
    padding: clamp(48px, 10vw, 80px) 0 40px;
}

.footer-top {
    display: grid;
    gap: clamp(32px, 6vw, 48px);
}

@media (min-width: 992px) {
    .footer-top {
        grid-template-columns: 1.2fr 1fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 380px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(12, 18, 38, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: var(--transition);
}

.footer-socials a:hover {
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-4px);
}

.footer-links {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.footer-links h4 {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--text-soft);
}

.footer-links ul {
    list-style: none;
    display: grid;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

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

.footer-bottom {
    margin-top: clamp(28px, 4vw, 40px);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-contact {
    color: var(--primary-bright);
    font-weight: 600;
}

/* =====================================================
   Media Queries & Accessibility
   ===================================================== */
@media (max-width: 991px) {
    .hero-floating-card {
        position: static;
        margin-top: 20px;
        animation: none;
    }

    .hero-preview {
        margin-bottom: 20px;
    }

    .hero-visual {
        display: grid;
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .hero-cta,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .navbar-menu.mobile-active {
        left: 6vw;
        right: 6vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01s !important;
        scroll-behavior: auto !important;
    }
}
