/**
 * css/style.css
 * منصة نفاذ للتعميد - التصميم الرئيسي
 * Modern | Responsive | SEO-Optimized | Mobile-First
 */

:root {
    --primary: #1a365d;
    --primary-dark: #0f2942;
    --primary-light: #2d5b8a;
    --secondary: #2d5b8a;
    --accent: #e53e3e;
    --accent-hover: #c53030;
    --success: #38a169;
    --white: #ffffff;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --transition: 0.3s ease;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --container-max: 1200px;
    --section-padding: 80px;
    --header-height: 70px;
    --font-main: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--gray-50);
    direction: rtl;
    overflow-x: hidden;
    min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
::selection { background: var(--primary); color: var(--white); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 9999;
    font-weight: 700;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* TOP BAR */
.top-bar {
    background: var(--primary-dark);
    color: var(--gray-300);
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info a { color: var(--gray-200); }
.top-bar-info a:hover { color: var(--white); }

.top-bar-social {
    display: flex;
    gap: 12px;
}

.top-bar-social a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}

.top-bar-social a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* HEADER */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-lg);
    height: 60px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.1);
    box-shadow: var(--shadow-md);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius);
    color: var(--gray-600);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 16px;
    left: 16px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: var(--radius-full);
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
    color: var(--primary);
    background: var(--gray-50);
}

.nav-item.active .nav-link::after,
.nav-item:hover .nav-link::after {
    transform: scaleX(1);
}

.has-dropdown .dropdown-arrow {
    font-size: 0.7rem;
    transition: var(--transition);
    margin-right: 4px;
}

.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 30px;
    width: 12px;
    height: 12px;
    background: var(--white);
    transform: rotate(45deg);
    border-radius: 2px;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.dropdown-menu li a i {
    color: var(--primary-light);
    width: 20px;
    text-align: center;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(229,62,62,0.3);
    transition: var(--transition);
    flex-shrink: 0;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229,62,62,0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--white);
    z-index: 1002;
    box-shadow: var(--shadow-xl);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav.active { right: 0; }

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--gray-500);
    transition: var(--transition);
}

.mobile-nav-close:hover {
    background: var(--gray-100);
    color: var(--accent);
}

.mobile-nav-list { padding: 16px; flex: 1; }
.mobile-nav-item { margin-bottom: 4px; }

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    color: var(--gray-700);
    font-weight: 600;
    transition: var(--transition);
}

.mobile-nav-link i {
    width: 24px;
    text-align: center;
    color: var(--primary-light);
}

.mobile-nav-item.active .mobile-nav-link,
.mobile-nav-link:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-nav-item.active .mobile-nav-link i,
.mobile-nav-link:hover i { color: var(--white); }

.mobile-nav-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-100);
}

.mobile-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 14px;
    border-radius: var(--radius);
    font-weight: 700;
    transition: var(--transition);
}

.mobile-whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* BREADCRUMB */
.breadcrumb-nav {
    background: var(--gray-100);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-500);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    color: var(--gray-400);
    margin-right: 8px;
}

.breadcrumb-item a {
    color: var(--primary-light);
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--gray-600);
    font-weight: 600;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 50%, var(--secondary) 100%);
    color: var(--white);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100px;
    background: var(--gray-50);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.hero-badge i { color: #ffd700; }

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 span {
    color: #63b3ed;
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    border-radius: var(--radius-full);
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(229,62,62,0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229,62,62,0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease 0.8s both;
}

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

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
}

/* SECTIONS */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-title span { color: var(--accent); }

.section-desc {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.8;
}

/* STATS */
.stats-section {
    background: var(--white);
    padding: 60px 0;
    margin-top: -60px;
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: calc(var(--container-max) - 40px);
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 40px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--gray-200);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-50);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(360deg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    margin-right: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 600;
}

/* FEATURES */
.features-section { background: var(--gray-50); }

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

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

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

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius);
    opacity: 0.2;
    z-index: -1;
    transition: var(--transition);
}

.feature-card:hover .feature-icon::after {
    inset: -8px;
    opacity: 0.3;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-500);
    line-height: 1.8;
    font-size: 14px;
}

/* STEPS */
.steps-section { background: var(--white); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    right: 12.5%;
    left: 12.5%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.2;
    z-index: 0;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 3px dashed var(--primary-light);
    border-radius: var(--radius-full);
    animation: spin 20s linear infinite;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.step-card p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.8;
}

/* TESTIMONIALS */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-desc { color: rgba(255,255,255,0.8); }

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

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.testimonial-quote {
    font-size: 3rem;
    color: rgba(255,255,255,0.2);
    position: absolute;
    top: 20px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    border: 3px solid rgba(255,255,255,0.3);
}

.testimonial-name {
    font-weight: 800;
    font-size: 16px;
}

.testimonial-role {
    font-size: 14px;
    opacity: 0.8;
}

.stars {
    color: #ffd700;
    margin-top: 4px;
    font-size: 14px;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* FOOTER */
.footer-wave { line-height: 0; margin-top: -1px; }
.footer-wave svg { width: 100%; height: auto; }

.footer-main {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 40px;
}

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

.footer-col { min-width: 0; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-logo i { font-size: 2rem; color: var(--accent); }

.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: var(--radius-full);
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-right: 8px;
}

.footer-links a i { font-size: 0.7rem; color: var(--accent); }

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-contact-list i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact-list a { color: rgba(255,255,255,0.8); }
.footer-contact-list a:hover { color: var(--white); }

.footer-bottom {
    background: var(--primary-dark);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-tagline {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}

/* FLOATING */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--gray-800);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* COOKIE */
.cookie-consent {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    background: var(--gray-800);
    color: var(--white);
    padding: 16px 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show { transform: translateY(0); }

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-btn {
    background: var(--accent);
    color: var(--white);
    padding: 10px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    flex-shrink: 0;
}

.cookie-btn:hover { background: var(--accent-hover); }

/* ANIMATIONS */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE TABLET */
@media (max-width: 1024px) {
    :root { --section-padding: 60px; }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }

    .stat-card:not(:last-child)::after { display: none; }

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

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

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

    .footer-about { grid-column: 1 / -1; }
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
        --header-height: 60px;
    }

    .top-bar-info { justify-content: center; width: 100%; }
    .top-bar-social { display: none; }

    .main-nav, .header-cta { display: none; }
    .mobile-menu-toggle { display: flex; }

    .logo-title { font-size: 1.2rem; }
    .logo-icon { width: 38px; height: 38px; font-size: 1.1rem; }

    .hero { padding: 60px 0 80px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .hero-stat-number { font-size: 1.8rem; }
    .btn { padding: 14px 24px; font-size: 14px; }

    .stats-section {
        margin-top: -30px;
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 16px;
    }

    .stat-icon { width: 50px; height: 50px; font-size: 1.2rem; }
    .stat-number { font-size: 1.8rem; }

    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 30px 24px; }

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

    .step-card { max-width: 300px; margin: 0 auto; }

    .testimonials-grid { grid-template-columns: 1fr; }
    .cta-section { padding: 60px 0; }
    .cta-section h2 { font-size: 1.75rem; }

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

    .footer-about { grid-column: 1; }
    .footer-title { margin-bottom: 16px; }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-tooltip { display: none; }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        left: 20px;
    }

    .cookie-content { flex-direction: column; text-align: center; }
    .breadcrumb-list { font-size: 12px; }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero h1 { font-size: 1.5rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; }

    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 1.5rem; }
    .section-title { font-size: 1.5rem; }
    .feature-card { padding: 24px 20px; }
    .testimonial-card { padding: 30px 20px; }
    .mobile-nav { width: 100%; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* PRINT */
@media print {
    .top-bar, .main-header, .mobile-nav, .mobile-nav-overlay,
    .back-to-top, .whatsapp-float, .cookie-consent, .footer-wave {
        display: none !important;
    }
    body { background: white; color: black; }
    .section { padding: 20px 0; }
    a { text-decoration: underline; }
}
