/* ============================================
   PRIMARIA-ONLINE.RO — 2026 Premium Design
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fbbf24;

    --warm-50: #fffbeb;
    --warm-100: #fef3c7;
    --warm-200: #fde68a;

    --peach-50: #fff7ed;
    --peach-100: #ffedd5;
    --rose-50: #fff1f2;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --success: #10b981;
    --danger: #ef4444;

    --gradient-primary: linear-gradient(135deg, #1a3a8f 0%, #2563eb 100%);
    --gradient-warm: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ef4444 100%);
    --gradient-hero: linear-gradient(135deg, #eff6ff 0%, #fef3c7 50%, #ffedd5 100%);
    --gradient-soft: linear-gradient(135deg, #1a3a8f 0%, #2563eb 100%);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08), 0 4px 10px -5px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 40px -10px rgba(0,0,0,0.1), 0 8px 16px -8px rgba(0,0,0,0.06);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 40px rgba(37,99,235,0.15);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    --font-primary: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Section Styling --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    isolation: isolate;
}

.btn i {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover i {
    transform: translateX(3px);
}

/* Primary Button — Premium gradient with shine */
.btn-primary {
    background: linear-gradient(135deg, #1a3a8f 0%, #2563eb 40%, #3b82f6 100%);
    color: #fff;
    box-shadow:
        0 4px 15px rgba(26, 58, 143, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 30px rgba(26, 58, 143, 0.35),
        0 4px 12px rgba(37, 99, 235, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #fff;
    background: linear-gradient(135deg, #152e73 0%, #1d4ed8 40%, #2563eb 100%);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 3px 10px rgba(26, 58, 143, 0.3);
}

/* Outline Button — Glass effect */
.btn-outline {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--gray-700);
    border: 1.5px solid rgba(26, 58, 143, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
    border-color: rgba(26, 58, 143, 0.3);
    color: #1a3a8f;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 4px 16px rgba(26, 58, 143, 0.12),
        0 1px 4px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.btn-outline:active {
    transform: translateY(0);
}

.btn-outline i {
    color: #1a3a8f;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo:hover {
    opacity: 0.9;
}

/* Logo Emblem — Shield + Crown + Check */
.logo-emblem {
    position: relative;
    width: 44px;
    height: 48px;
    flex-shrink: 0;
}

.emblem-shield {
    width: 38px;
    height: 42px;
    background: linear-gradient(160deg, #1a3a8f 0%, #2557c9 50%, #1a3a8f 100%);
    clip-path: polygon(50% 0%, 100% 12%, 100% 65%, 50% 100%, 0% 65%, 0% 12%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.emblem-shield::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(160deg, #c0392b 0%, #e74c3c 100%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 50% 100%, 0% 70%);
}

.emblem-shield i {
    color: #ffd700;
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
    margin-top: -4px;
}

.emblem-check {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    z-index: 3;
}

.emblem-check i {
    color: #fff;
    font-size: 0.45rem;
}

/* Logo Text */
.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}

.logo-blue {
    color: #1a3a8f;
}

.logo-red {
    color: #d32f2f;
}

.logo-tagline {
    font-size: 0.65rem;
    color: #b0b0b0;
    font-weight: 400;
    letter-spacing: 0.02em;
    font-style: italic;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-50);
}

.nav-link.nav-cta {
    background: linear-gradient(135deg, #1a3a8f 0%, #2563eb 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    margin-left: 8px;
    box-shadow: 0 2px 10px rgba(26, 58, 143, 0.2);
    position: relative;
    overflow: hidden;
}

.nav-link.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.nav-link.nav-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 58, 143, 0.3);
    background: linear-gradient(135deg, #152e73 0%, #1d4ed8 100%);
}

.nav-link.nav-cta:hover::before {
    left: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(26, 58, 143, 0.08) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation: float 18s ease-in-out infinite;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    top: 20%;
    right: 30%;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--accent);
}

.hero h1 {
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray-500);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
}

.stat-suffix {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Hero Dashboard Visual */
.hero-visual {
    position: relative;
}

.hero-dashboard {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-dots span:nth-child(1) { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #fbbf24; }
.dashboard-dots span:nth-child(3) { background: #10b981; }

.dashboard-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
}

.dashboard-body {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dash-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.dash-card:hover {
    border-color: var(--primary-100);
    background: var(--primary-50);
}

.dash-card i {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.dash-card span {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.dash-card strong {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--gray-900);
}

.dash-progress {
    grid-column: 1 / -1;
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--gray-100);
}

.dash-progress span:first-child {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
    white-space: nowrap;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 2s ease;
}

.progress-text {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    animation: float-card 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.1rem;
}

.card-1 {
    top: 20px;
    right: -20px;
    animation-delay: 0s;
}

.card-1 i { color: var(--success); }

.card-2 {
    bottom: 30px;
    left: -20px;
    animation-delay: 2s;
}

.card-2 i { color: var(--primary); }

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    color: #fff;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ============================================
   TRUSTED SECTION
   ============================================ */
.trusted-section {
    padding: 40px 0;
    background: #fff;
}

.trusted-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.trusted-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trusted-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    transition: var(--transition);
}

.trusted-item:hover {
    color: var(--primary);
}

.trusted-item i {
    font-size: 2rem;
}

.trusted-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* ============================================
   SERVICES
   ============================================ */
.services-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: var(--primary-100);
    background: linear-gradient(135deg, var(--primary-50) 0%, #fff 100%);
}

.service-card.featured::before {
    opacity: 1;
}

.service-icon-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-50);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: #fff;
}

.service-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--accent);
    color: #fff;
    padding: 3px 10px;
    border-radius: 50px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card > p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.service-features li i {
    color: var(--success);
    font-size: 0.75rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about-section {
    padding: 100px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-content .section-badge {
    display: inline-flex;
}

.about-content h2 {
    margin: 16px 0 20px;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    font-weight: 500;
}

.about-content > p {
    color: var(--gray-500);
    margin-bottom: 32px;
}

.mission-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--primary-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--primary-100);
}

.mission-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.mission-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.mission-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.value-card {
    padding: 28px 24px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.value-icon {
    width: 44px;
    height: 44px;
    background: var(--warm-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.value-card:nth-child(2) .value-icon {
    background: var(--primary-100);
    color: var(--primary);
}

.value-card:nth-child(3) .value-icon {
    background: #d1fae5;
    color: #059669;
}

.value-card:nth-child(4) .value-icon {
    background: #dbeafe;
    color: #1a3a8f;
}

.value-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
}

/* ============================================
   WHY US
   ============================================ */
.why-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.why-number {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-100);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
    transition: var(--transition);
}

.why-card:hover .why-number {
    color: var(--primary-100);
}

.why-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-50);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--gradient-primary);
    color: #fff;
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    padding-right: 50px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   GUARANTEE
   ============================================ */
.guarantee-section {
    padding: 100px 0;
    background: #fff;
}

.guarantee-card {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--warm-50) 50%, var(--peach-50) 100%);
    border-radius: var(--radius-2xl);
    padding: 60px;
    text-align: center;
    position: relative;
    border: 1px solid var(--primary-100);
    overflow: hidden;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.guarantee-badge {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.25);
}

.guarantee-content h2 {
    margin-bottom: 16px;
}

.guarantee-lead {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.guarantee-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 550px;
    margin: 0 auto 36px;
}

.guarantee-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--gray-700);
    text-align: left;
}

.guarantee-feature i {
    color: var(--success);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ============================================
   PROCESS
   ============================================ */
.process-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    flex: 1;
    padding: 0 20px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: var(--gray-200);
    flex-shrink: 0;
    position: relative;
    top: -30px;
}

.process-connector::after {
    content: '';
    position: absolute;
    right: -3px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary);
    border-top: 2px solid var(--primary);
    transform: rotate(45deg);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: #fff;
}

.cta-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-content > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 36px;
}

.cta-price {
    margin-bottom: 36px;
}

.price-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}

.price-amount {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.price-value {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.price-details {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.price-currency {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 700;
}

.price-period {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.price-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    display: block;
    margin-top: 8px;
}

.cta-section .btn-primary {
    background: #fff;
    color: #1a3a8f;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 0 -2px 0 rgba(0, 0, 0, 0.03);
}

.cta-section .btn-primary::before {
    background: linear-gradient(90deg, transparent, rgba(26, 58, 143, 0.06), transparent);
}

.cta-section .btn-primary:hover {
    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px) scale(1.02);
    color: #152e73;
    background: #fff;
}

.cta-section .btn-primary:hover::before {
    left: 100%;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.contact-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-card a {
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 2px;
}

.company-details {
    font-size: 0.78rem !important;
    color: var(--gray-400) !important;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 8px;
}

.contact-social > span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
}

/* Contact Form */
.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.contact-form > p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-700);
    background: var(--gray-50);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--danger);
    background: #fef2f2;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    font-size: 0.78rem;
    color: var(--danger);
    margin-top: 4px;
    display: none;
}

.form-error.visible {
    display: block;
}

.form-check {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: var(--primary);
}

.checkbox-label a {
    color: var(--primary);
    font-weight: 600;
}

.form-status {
    margin-top: 16px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-status.error-msg {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: inline-flex;
}

.footer-logo .logo-blue,
.footer-logo .logo-red {
    color: #fff;
}

.footer-logo .logo-tagline {
    color: rgba(255,255,255,0.4);
}

.footer-logo .emblem-shield {
    background: linear-gradient(160deg, #3b6de0 0%, #5b8bff 50%, #3b6de0 100%);
}

.footer-logo .emblem-shield::before {
    background: linear-gradient(160deg, #e05555 0%, #ff6b6b 100%);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-400);
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary-light);
    width: 16px;
    text-align: center;
}

.footer-contact-item a {
    color: var(--gray-400);
}

.footer-contact-item a:hover {
    color: #fff;
}

/* ANPC Consumer Protection */
.footer-anpc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.footer-anpc > p {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
}

.anpc-links {
    display: flex;
    gap: 12px;
}

.anpc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--gray-400);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.anpc-badge i {
    font-size: 0.85rem;
    color: var(--primary-light);
}

.anpc-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.82rem;
}

.footer-bottom-links {
    display: flex;
    gap: 12px;
}

.footer-bottom-links a {
    color: var(--gray-400);
}

.footer-bottom-links a:hover {
    color: #fff;
}

.footer-bottom-links span {
    color: var(--gray-600);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* ============================================
   GDPR POPUP
   ============================================ */
.gdpr-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gdpr-popup.active {
    display: flex;
    opacity: 1;
}

.gdpr-content {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 36px;
    max-width: 680px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.gdpr-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-50);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.gdpr-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.gdpr-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.gdpr-text > p {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}

.gdpr-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.gdpr-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--gray-600);
    cursor: pointer;
}

.gdpr-checkbox input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.gdpr-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.btn-gdpr {
    padding: 11px 24px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-accept {
    background: linear-gradient(135deg, #1a3a8f 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(26, 58, 143, 0.25);
}

.btn-accept:hover {
    box-shadow: 0 6px 20px rgba(26, 58, 143, 0.35);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #152e73 0%, #1d4ed8 100%);
}

.btn-selected {
    background: rgba(26, 58, 143, 0.06);
    color: #1a3a8f;
    border: 1.5px solid rgba(26, 58, 143, 0.15);
}

.btn-selected:hover {
    background: rgba(26, 58, 143, 0.1);
    border-color: rgba(26, 58, 143, 0.25);
    transform: translateY(-1px);
}

.btn-reject {
    background: transparent;
    color: var(--gray-500);
    border: 1.5px solid var(--gray-200);
}

.btn-reject:hover {
    border-color: var(--gray-300);
    color: var(--gray-700);
    background: var(--gray-50);
    transform: translateY(-1px);
}

.gdpr-link {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-decoration: underline;
}

.gdpr-link:hover {
    color: var(--primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="scale-in"] {
    transform: scale(0.9);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-slow);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 12px;
        justify-content: center;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .floating-card {
        display: none;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .guarantee-card {
        padding: 40px 24px;
    }

    .process-steps {
        flex-direction: column;
        gap: 16px;
    }

    .process-connector {
        width: 2px;
        height: 30px;
        top: 0;
    }

    .process-connector::after {
        right: -3px;
        top: auto;
        bottom: -3px;
        transform: rotate(135deg);
    }

    .cta-card {
        padding: 40px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .contact-form-wrap {
        padding: 28px 20px;
    }

    .gdpr-content {
        padding: 24px;
    }

    .gdpr-actions {
        flex-direction: column;
    }

    .btn-gdpr {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    .hero-description {
        font-size: 1rem;
    }

    .price-value {
        font-size: 3rem;
    }

    .service-card,
    .why-card {
        padding: 28px 20px;
    }
}

/* ============================================
   UTILITY: SMOOTH SCROLL OFFSET
   ============================================ */
section[id] {
    scroll-margin-top: 80px;
}

/* Print styles */
@media print {
    .navbar, .gdpr-popup, .back-to-top, .hero-bg-shapes {
        display: none !important;
    }
    body { color: #000; }
    a { color: #000; text-decoration: underline; }
}

/* ============================================
   ANTI-COPY PROTECTION
   ============================================ */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Allow selection in form fields */
input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Disable image dragging */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}
