/* ============================================================
   DigitalBindu - Public Landing Styles (Modern Clean Redesign)
   Covers: welcome page, auth pages, legal pages
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
    /* Brand (matches app.css) */
    --brand-orange: #EE6B2F;
    --brand-orange-light: #FF7444;
    --brand-orange-hover: #d95e24;
    --brand-orange-soft: #FFF3EC;
    --brand-blue: #355A72;
    --brand-blue-dark: #2C4C60;
    --brand-blue-hover: #475876;
    --brand-blue-soft: #EDF3F7;
    --brand-teal: #0D9488;
    --brand-teal-dark: #0F766E;
    --brand-purple: #7C3AED;

    /* Text */
    --text-dark: #0F172A;
    --text-body: #1E293B;
    --text-muted: #475569;
    --text-secondary: #64748B;
    --text-light: #94A3B8;

    /* Surfaces */
    --bg-body: #F3F5F9;
    --bg-light: #F1F5F9;
    --bg-surface: #FFFFFF;

    --border-color: #E2E8F0;
    --border-light: #EEF1F6;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.07);
    --shadow-md: 0 4px 8px -2px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 14px 28px -8px rgba(15, 23, 42, 0.14), 0 6px 12px -6px rgba(15, 23, 42, 0.08);

    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;

    --transition: all 0.25s ease;

    /* Legacy aliases (some inline styles reference these) */
    --primary: #EE6B2F;
    --primary-dark: #d95e24;
    --primary-light: #FF7444;
    --secondary: #355A72;
    --accent: #FFB27D;
    --dark: #0F172A;
    --light: #F3F5F9;
    --gray: #64748B;
    --text: #1E293B;
    --border: #E2E8F0;
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.07), 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 14px 28px -8px rgba(15, 23, 42, 0.14);
}

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

html {
    scroll-behavior: smooth;
}

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

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
    color: var(--text-dark);
    font-weight: 700;
}

a { color: var(--brand-orange); text-decoration: none; }
a:hover { color: var(--brand-orange-hover); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(238, 107, 47, 0.45);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--brand-orange-hover), var(--brand-orange));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -8px rgba(238, 107, 47, 0.5);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--brand-blue);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--brand-blue-soft);
    border-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 14px 35px;
    font-size: 1rem;
    border-radius: var(--radius-xl);
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-modern.primary {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(238, 107, 47, 0.45);
}

.btn-modern.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -8px rgba(238, 107, 47, 0.5);
}

.btn-modern.secondary {
    background: var(--bg-surface);
    color: var(--brand-blue);
    border-color: var(--border-color);
}

.btn-modern.secondary:hover {
    background: var(--brand-blue-soft);
    border-color: var(--brand-blue);
    transform: translateY(-2px);
}

/* ============================================================
   NAVBAR (modern-style baseline)
   ============================================================ */
.navbar-modern {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 800;
    font-size: 1.2rem;
    transition: var(--transition);
}

.logo-circle {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 14px -4px rgba(238, 107, 47, 0.5);
}

.logo-modern:hover .logo-circle {
    transform: rotate(360deg) scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    background: transparent;
    border: 1px solid transparent;
}

.nav-item:hover {
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.mobile-toggle-modern {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle-modern span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   HERO (baseline — hero.blade.php provides full styling)
   ============================================================ */
.hero {
    padding: 80px 20px 120px;
    position: relative;
    overflow: hidden;
    min-height: 640px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero h1 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 30px; }

.gradient-text {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: var(--radius-pill, 999px);
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-buttons { display: flex; gap: 16px; margin-bottom: 50px; flex-wrap: wrap; }

.btn-gradient {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    color: #fff;
    padding: 14px 30px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 8px 20px -8px rgba(238, 107, 47, 0.5);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(238, 107, 47, 0.55);
    color: #fff;
}

.btn-outline {
    background: var(--bg-surface);
    color: var(--brand-blue);
    padding: 14px 30px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--brand-blue-soft);
    border-color: var(--brand-blue);
    transform: translateY(-2px);
}

.btn-download {
    background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-dark));
    color: #fff;
    padding: 14px 30px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 8px 20px -8px rgba(13, 148, 136, 0.5);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(13, 148, 136, 0.55);
    color: #fff;
}

.app-download-banner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--brand-orange-soft);
    border: 1px solid #FFDCC8;
    border-radius: var(--radius-lg);
    padding: 10px 18px;
    margin-bottom: 25px;
}

.app-download-banner i { font-size: 1.3rem; color: var(--brand-orange); }

.download-text { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); }

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

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

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-orange);
    line-height: 1.1;
}

.stat-label { font-size: 0.9rem; color: var(--text-secondary); margin-top: 4px; }

.stat strong { font-size: 2.2rem; font-weight: 800; color: var(--brand-orange); display: block; }
.stat span { font-size: 0.9rem; color: var(--text-secondary); }

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

/* Services wheel */
.services-wheel {
    position: relative;
    width: 320px;
    height: 320px;
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--bg-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.center-logo { text-align: center; color: var(--text-dark); }

.center-logo img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 4px;
    object-fit: cover;
}

.center-logo span { font-size: 0.8rem; font-weight: 700; }

.service-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    background: var(--bg-surface);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(-120px) rotate(calc(var(--i) * -45deg));
    animation: counter-rotate 30s linear infinite;
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--brand-orange);
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(-200px) rotate(calc(var(--i) * -45deg)) scale(1.08);
}

.service-icon {
    font-size: 1.4rem;
    color: var(--brand-orange);
    margin-bottom: 4px;
}

.service-item span {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    color: var(--text-body);
}

@keyframes counter-rotate {
    from { transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateY(-200px) rotate(calc(var(--i) * -45deg)); }
    to { transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg + 360deg)) translateY(-200px) rotate(calc(var(--i) * -45deg - 360deg)); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

/* ============================================================
   MODERN CIRCULAR SERVICES (legacy, kept for compatibility)
   ============================================================ */
.services-modern {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.floating-service-card {
    position: absolute;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    width: 120px;
}

.floating-service-card:hover {
    border-color: var(--brand-orange);
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.service-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 4px 14px -4px rgba(238, 107, 47, 0.5);
    transition: var(--transition);
}

.floating-service-card:hover .service-circle {
    transform: rotate(360deg) scale(1.05);
}

.floating-service-card h4 { color: var(--text-dark); font-size: 0.9rem; font-weight: 700; margin: 0 0 5px; line-height: 1.2; }
.floating-service-card span { color: var(--text-secondary); font-size: 0.7rem; font-weight: 500; }

.card-1 { top: 20px; left: 50%; transform: translateX(-50%); animation: float1 4s ease-in-out infinite; }
.card-2 { top: 80px; right: 20px; animation: float2 4s ease-in-out infinite 0.5s; }
.card-3 { bottom: 80px; right: 20px; animation: float3 4s ease-in-out infinite 1s; }
.card-4 { bottom: 20px; left: 50%; transform: translateX(-50%); animation: float4 4s ease-in-out infinite 1.5s; }
.card-5 { top: 80px; left: 20px; animation: float5 4s ease-in-out infinite 2s; }

.center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px -8px rgba(238, 107, 47, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.badge-content { text-align: center; }
.badge-number { display: block; color: #fff; font-size: 1.2rem; font-weight: 900; line-height: 1; }
.badge-text { color: rgba(255, 255, 255, 0.9); font-size: 0.7rem; font-weight: 600; }

@keyframes float1 { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes float3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float4 { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
@keyframes float5 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ============================================================
   SERVICES SHOWCASE (legacy, kept for compatibility)
   ============================================================ */
.services-showcase {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 30px;
    max-height: 480px;
    overflow-y: auto;
    box-shadow: var(--shadow-sm);
}

.services-showcase h3 { color: var(--text-dark); font-size: 1.3rem; margin-bottom: 20px; }

.services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    color: var(--text-body);
    font-size: 0.9rem;
    transition: var(--transition);
    opacity: 0;
    animation: slideUp 0.3s ease forwards;
}

.services-list li:hover { background: var(--brand-orange-soft); color: var(--brand-orange); transform: translateX(4px); }

.services-list li i { color: var(--brand-orange); font-size: 1.1rem; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
    padding: 80px 20px;
    background: var(--bg-surface);
}

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

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

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-light));
    opacity: 0;
    transition: var(--transition);
}

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

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.7rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-6deg); }

.gradient-1 { background: var(--brand-orange-soft); color: var(--brand-orange); }
.gradient-2 { background: var(--brand-blue-soft); color: var(--brand-blue); }
.gradient-3 { background: #ECFDF5; color: var(--brand-teal); }
.gradient-4 { background: #F5F3FF; color: var(--brand-purple); }
.gradient-5 { background: #FFF7ED; color: #EA580C; }
.gradient-6 { background: #FDF2F8; color: #DB2777; }

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

.feature-number {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brand-orange);
    opacity: 0.12;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
    padding: 80px 20px;
    background: var(--bg-light);
}

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

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

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.service-card:hover {
    border-color: var(--brand-orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-card:active { transform: scale(0.98); }

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-orange-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--brand-orange);
    font-size: 1.6rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    color: #fff;
}

.service-card h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.service-badge {
    display: inline-block;
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
    padding: 5px 14px;
    border-radius: var(--radius-pill, 999px);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================================
   DOCUMENTS MODAL
   ============================================================ */
.documents-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.25s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.documents-content {
    background-color: var(--bg-surface);
    margin: 5% auto;
    padding: 40px;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 620px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    animation: slideUp 0.3s ease-out;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

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

.close-btn {
    position: absolute;
    right: 20px;
    top: 16px;
    font-size: 26px;
    font-weight: bold;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--brand-orange);
    transform: scale(1.15);
}

#documentTitle {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    padding-right: 30px;
}

.documents-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.documents-list li {
    padding: 12px 0 12px 30px;
    color: var(--text-body);
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-light);
}

.documents-list li:last-child { border-bottom: none; }

.documents-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-teal);
    font-weight: bold;
    font-size: 1.1rem;
}

.documents-note {
    background: var(--brand-blue-soft);
    padding: 15px 18px;
    border-left: 4px solid var(--brand-blue);
    border-radius: var(--radius-sm);
    color: var(--text-body);
    font-size: 0.9rem;
    margin-top: 20px;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing {
    padding: 80px 20px;
    background: var(--bg-light);
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-surface);
    padding: 36px 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.featured {
    border-color: var(--brand-orange);
    box-shadow: 0 20px 40px -16px rgba(238, 107, 47, 0.35);
    transform: scale(1.04);
    background: linear-gradient(180deg, #FFFBF8 0%, var(--bg-surface) 40%);
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-8px);
}

.plan-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-pill, 999px);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 18px;
    background: var(--bg-light);
    color: var(--text-secondary);
    align-self: flex-start;
}

.plan-badge.popular {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(238, 107, 47, 0.5);
}

.plan-badge.premium {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
    color: #fff;
}

.pricing-card h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--text-dark);
    font-weight: 700;
}

.plan-price {
    margin-bottom: 26px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.plan-price .currency {
    font-size: 1.4rem;
    color: var(--brand-orange);
    font-weight: 700;
}

.plan-price .amount {
    font-size: 2.8rem;
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1;
}

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

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex-grow: 1;
}

.plan-features li {
    padding: 11px 0;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-light);
}

.plan-features li:last-child { border-bottom: none; }

.plan-features li i {
    color: var(--brand-teal);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.plan-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.98rem;
    transition: var(--transition);
    box-shadow: 0 8px 18px -8px rgba(238, 107, 47, 0.5);
}

.plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(238, 107, 47, 0.55);
    color: #fff;
}

.pricing-card:not(.featured) .plan-btn {
    background: var(--bg-surface);
    color: var(--brand-blue);
    border: 1.5px solid var(--border-color);
    box-shadow: none;
}

.pricing-card:not(.featured) .plan-btn:hover {
    background: var(--brand-blue-soft);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

/* ============================================================
   BENEFITS SECTION
   ============================================================ */
.benefits {
    padding: 80px 20px;
    background: var(--bg-surface);
}

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

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

.benefit-item {
    display: flex;
    gap: 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.benefit-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #FFDCC8;
}

.benefit-icon {
    width: 58px;
    height: 58px;
    background: var(--brand-orange-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
    color: #fff;
}

.benefit-content h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.benefit-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
    padding: 80px 20px;
    background: linear-gradient(135deg, #FFF6F0 0%, #EDF3F7 100%);
}

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

.contact .section-header h2 { color: var(--text-dark); }
.contact .section-header p { color: var(--text-secondary); }

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

.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #FFDCC8;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    color: var(--brand-orange);
    display: inline-flex;
}

.contact-card h4 {
    margin-bottom: 14px;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.contact-card p {
    margin: 5px 0;
    font-size: 0.92rem;
    color: var(--text-body);
}

.contact-card a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-card a:hover { color: var(--brand-orange); text-decoration: underline; }

.text-small {
    font-size: 0.82rem;
    color: var(--text-secondary);
    opacity: 0.9;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #0F1B2D;
    color: #CBD5E1;
    padding: 60px 20px 20px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.footer-section p {
    opacity: 0.75;
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #CBD5E1;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--brand-orange-light);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom p { margin: 5px 0; }

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .nav-container,
    .hero-container,
    .features-container,
    .services-container,
    .benefits-container,
    .contact-container,
    .footer-container {
        max-width: 100%;
        padding: 0 30px;
    }

    .hero h1 { font-size: 2.8rem; }

    .services-showcase { padding: 30px; }
}

/* Tablets */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-visual { order: -1; }
    .hero h1 { font-size: 2.6rem; }
    .hero p { font-size: 1.05rem; }
    .hero-buttons, .hero-stats { justify-content: center; }

    .nav-menu { gap: 1.5rem; }

    .services-showcase { max-height: 400px; padding: 25px; }
    .services-list li { font-size: 0.9rem; padding: 10px 12px; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-8px); }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        border-top: 1px solid var(--border-light);
    }

    .nav-menu.active { display: flex; }
    .mobile-toggle-modern { display: flex; }
    .nav-actions { flex-direction: column; gap: 8px; }
    .btn-modern { padding: 8px 16px; font-size: 0.85rem; }

    /* Hero */
    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero-container { gap: 2rem; }
    .hero h1 { font-size: 2.1rem; line-height: 1.3; }
    .hero p { font-size: 1rem; margin-bottom: 30px; }
    .hero-buttons { flex-direction: column; gap: 12px; margin-bottom: 40px; }

    .btn, .btn-lg { width: 100%; justify-content: center; padding: 14px 24px; font-size: 0.95rem; }

    .hero-stats { justify-content: space-around; gap: 20px; margin-top: 30px; }
    .stat strong { font-size: 1.8rem; }
    .stat span { font-size: 0.85rem; }

    /* Services modern */
    .services-modern { width: 320px; height: 320px; margin: 0 auto; position: relative; }
    .floating-service-card { width: 100px; padding: 16px; }
    .floating-service-card h4 { font-size: 0.72rem; }
    .floating-service-card span { font-size: 0.6rem; }
    .center-badge { width: 60px; height: 60px; }
    .badge-number { font-size: 1rem; }
    .badge-text { font-size: 0.6rem; }

    .services-wheel { margin: 0 auto; display: block; }

    /* Services showcase */
    .services-showcase { max-height: 450px; padding: 20px; }
    .services-showcase h3 { font-size: 1.2rem; margin-bottom: 20px; }
    .services-list li { font-size: 0.85rem; padding: 8px 14px; gap: 12px; }
    .services-list li i { font-size: 1rem; }

    /* Section headers */
    .section-header h2 { font-size: 2rem; }
    .section-header p { font-size: 1rem; }

    /* Grids */
    .features-grid,
    .benefits-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }

    .feature-card { padding: 28px 20px; }
    .feature-icon { width: 60px; height: 60px; font-size: 1.5rem; }

    .service-card { padding: 24px 18px; }
    .service-icon { width: 52px; height: 52px; font-size: 1.4rem; }

    .benefit-item { flex-direction: row; align-items: center; text-align: left; gap: 16px; }
    .benefit-icon { width: 54px; height: 54px; font-size: 1.3rem; }

    .contact-card { padding: 26px 20px; }
    .contact-icon { font-size: 1.7rem; }

    .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .pricing-card { padding: 30px 24px; }
    .pricing-card.featured { transform: scale(1); }

    /* Footer */
    .footer { padding: 40px 20px 20px; }
    .footer-content { grid-template-columns: 1fr; gap: 25px; margin-bottom: 30px; padding-bottom: 30px; }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .nav-container,
    .hero-container,
    .features-container,
    .services-container,
    .benefits-container,
    .contact-container,
    .footer-container {
        padding: 0 15px;
    }

    .nav-container { gap: 10px; }
    .logo-modern { font-size: 1rem; }
    .logo-circle { width: 36px; height: 36px; font-size: 1rem; }
    .nav-menu { padding: 15px; }
    .nav-item { padding: 8px 14px; font-size: 0.85rem; }
    .btn-modern { padding: 6px 12px; font-size: 0.8rem; }

    .hero { padding: 90px 15px 50px; }
    .hero h1 { font-size: 1.8rem; line-height: 1.35; }
    .hero p { font-size: 0.95rem; }
    .hero-badge { padding: 8px 14px; font-size: 0.82rem; }
    .hero-buttons { gap: 10px; margin-bottom: 30px; }
    .btn, .btn-lg { padding: 12px 20px; font-size: 0.9rem; }
    .hero-stats { gap: 14px; margin-top: 25px; }
    .stat strong { font-size: 1.5rem; }
    .stat span { font-size: 0.8rem; }

    .services-modern { width: 260px; height: 260px; }
    .floating-service-card { width: 82px; padding: 12px; }
    .service-circle { width: 34px; height: 34px; font-size: 0.9rem; }
    .floating-service-card h4 { font-size: 0.62rem; margin-bottom: 3px; }
    .center-badge { width: 50px; height: 50px; }
    .badge-number { font-size: 0.9rem; }
    .badge-text { font-size: 0.55rem; }

    .services-showcase { max-height: 300px; padding: 15px; }
    .services-showcase h3 { font-size: 1.1rem; margin-bottom: 15px; }
    .services-list { gap: 8px; }
    .services-list li { font-size: 0.8rem; padding: 6px 10px; gap: 10px; }
    .services-list li i { font-size: 0.9rem; }

    .section-header { margin-bottom: 30px; }
    .section-header h2 { font-size: 1.6rem; line-height: 1.3; }
    .section-header p { font-size: 0.9rem; }

    .feature-card,
    .service-card,
    .contact-card {
        padding: 22px 16px;
    }

    .services-grid { grid-template-columns: 1fr; gap: 15px; }

    .feature-icon,
    .service-icon,
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .feature-card h3, .service-card h3 { font-size: 1.1rem; }
    .feature-card p, .service-card p { font-size: 0.85rem; }
    .contact-icon { font-size: 1.6rem; }
    .contact-card h4 { font-size: 1rem; }
    .contact-card p { font-size: 0.85rem; }
    .benefit-content h4 { font-size: 1rem; }
    .benefit-content p { font-size: 0.85rem; }

    .pricing-card { padding: 26px 20px; }
    .pricing-card h3 { font-size: 1.4rem; }
    .plan-price .amount { font-size: 2.4rem; }

    .documents-content { margin: 10% auto; padding: 26px 20px; width: 95%; }
    #documentTitle { font-size: 1.2rem; margin-bottom: 15px; }
    .documents-list li { padding: 8px 0 8px 25px; font-size: 0.85rem; }
    .documents-note { padding: 12px; font-size: 0.8rem; margin-top: 15px; }

    .footer { padding: 30px 15px 15px; }
    .footer-content { gap: 20px; margin-bottom: 25px; padding-bottom: 25px; }
    .footer-section h4 { font-size: 0.95rem; margin-bottom: 12px; }
    .footer-section p, .footer-section a { font-size: 0.85rem; }
    .footer-bottom { font-size: 0.8rem; }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero h1 { font-size: 1.6rem; }
    .section-header h2 { font-size: 1.4rem; }
    .services-modern { width: 240px; height: 240px; }
    .floating-service-card { width: 70px; padding: 10px; }
    .center-badge { width: 45px; height: 45px; }
    .hero-stats { flex-direction: column; gap: 15px; }
    .stat { text-align: center; }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { padding: 80px 20px 40px; min-height: auto; }
    .hero h1 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: row; justify-content: center; gap: 15px; }
    .hero-stats { margin-top: 20px; }
    .services-modern { width: 200px; height: 200px; }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-item,
    .service-card,
    .feature-card,
    .contact-card {
        min-height: 44px;
        touch-action: manipulation;
    }

    .floating-service-card,
    .service-item {
        min-width: 44px;
        min-height: 44px;
    }

    .nav-item:hover,
    .btn-modern:hover,
    .feature-card:hover,
    .service-card:hover,
    .contact-card:hover,
    .floating-service-card:hover {
        transform: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .services-wheel,
    .service-item,
    .center-badge {
        animation: none !important;
    }
    .card-1, .card-2, .card-3, .card-4, .card-5,
    .floating-service-card, .service-item { animation: none !important; }
}
