/* ==========================================
   حكم AI - Hakm AI - Landing Page Design
   أول محامي سعودي ذكاء اصطناعي
   ========================================== */

:root {
    /* Saudi-inspired color palette */
    --green-deep: #0C6B3F;
    --green-dark: #0A5A35;
    --green-light: #E8F5EE;
    --gold: #C9A84C;
    --gold-light: #F5EDD6;
    --gold-dark: #A88834;
    --navy: #1A2332;
    --navy-light: #2A3344;
    --cream: #FBF9F6;
    --sand: #F5F0E8;
    --white: #FFFFFF;
    --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;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --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 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    --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;
}

body {
    font-family: 'Cairo', 'Scheherazade New', -apple-system, sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ==========================================
   Typography
   ========================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--green-deep), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
    border-radius: var(--radius-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(12, 107, 63, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 107, 63, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--green-deep);
    border-color: var(--green-deep);
}

.btn-outline:hover {
    background: var(--green-deep);
    color: var(--white);
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-slow);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 32px;
    line-height: 1;
}

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

.logo-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-600);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--green-deep);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--green-deep);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--green-deep);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.mobile-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 4px;
    transition: var(--transition);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(170deg, var(--cream) 0%, var(--white) 50%, var(--green-light) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(12, 107, 63, 0.15), transparent);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.15), transparent);
    bottom: -80px;
    right: -80px;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(12, 107, 63, 0.1), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(12, 107, 63, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 107, 63, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(12, 107, 63, 0.06);
    color: var(--green-deep);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(12, 107, 63, 0.15);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-deep);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 900;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-highlight {
    display: block;
    background: linear-gradient(135deg, var(--green-deep), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 600;
}

.trust-item i {
    color: var(--green-deep);
    font-size: 16px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transform: rotateY(-6deg) rotateX(3deg);
    transition: var(--transition-slow);
    max-width: 440px;
}

.hero-card:hover {
    transform: rotateY(0) rotateX(0);
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--navy);
    color: var(--white);
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

.card-dots span:first-child { background: #FF5F57; }
.card-dots span:nth-child(2) { background: #FFBD2E; }
.card-dots span:last-child { background: #28CA41; }

.card-title {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
}

.hero-card-body {
    padding: 20px;
    background: var(--gray-50);
    min-height: 200px;
}

.chat-bubble {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.chat-bubble.user {
    flex-direction: row-reverse;
}

.chat-bubble.user .bubble-content {
    background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
    color: var(--white);
    border-radius: 16px 4px 16px 16px;
}

.chat-bubble.bot .bubble-content {
    background: var(--white);
    border-radius: 4px 16px 16px 16px;
    box-shadow: var(--shadow-sm);
}

.bubble-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.bubble-content {
    padding: 12px 16px;
    max-width: 75%;
    font-size: 13px;
    line-height: 1.6;
}

.bubble-content p {
    margin-bottom: 4px;
}

.bubble-time {
    font-size: 10px;
    opacity: 0.5;
    display: block;
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-dots span {
    width: 7px;
    height: 7px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

.hero-card-input {
    display: flex;
    gap: 8px;
    padding: 14px 20px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.hero-card-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 13px;
    font-family: 'Cairo', sans-serif;
    outline: none;
    transition: var(--transition);
}

.hero-card-input input:focus {
    border-color: var(--green-deep);
    box-shadow: 0 0 0 3px rgba(12, 107, 63, 0.1);
}

.hero-card-input button {
    width: 44px;
    height: 44px;
    background: var(--green-deep);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-input button:hover {
    background: var(--green-dark);
    transform: scale(1.05);
}

/* Floating Stats */
.floating-stat {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.stat-1 {
    top: 10%;
    right: -30px;
    animation-delay: 0s;
}

.stat-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: -3s;
}

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

.fs-number {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: var(--green-deep);
}

.fs-label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 600;
}

/* ==========================================
   Section Shared Styles
   ========================================== */
section {
    padding: 100px 0;
}

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

.section-badge {
    display: inline-block;
    background: rgba(12, 107, 63, 0.06);
    color: var(--green-deep);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid rgba(12, 107, 63, 0.12);
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--navy);
}

.section-desc {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==========================================
   Features Section
   ========================================== */
.features {
    background: var(--white);
}

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

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-deep), var(--gold));
    opacity: 0;
    transition: var(--transition);
}

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

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

.feature-icon-wrapper {
    margin-bottom: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--white);
}

.icon-purple {
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
}

.icon-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

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

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

.feature-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-details li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
}

.feature-details li i {
    color: var(--green-deep);
    font-size: 14px;
}

/* ==========================================
   How It Works
   ========================================== */
.how-it-works {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 260px;
    position: relative;
}

.step-number {
    font-size: 64px;
    font-weight: 900;
    color: rgba(12, 107, 63, 0.06);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--green-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--green-deep);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 8px var(--green-light);
}

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

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

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 40px;
    flex-shrink: 0;
    width: 80px;
}

.connector-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--green-deep), var(--gold));
}

.connector-arrow {
    color: var(--gold);
    font-size: 16px;
}

/* ==========================================
   Services
   ========================================== */
.services {
    background: var(--white);
}

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

.service-card {
    padding: 32px 24px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: center;
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--green-deep);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--green-light);
    color: var(--green-deep);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
}

.service-card h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--navy);
}

.service-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ==========================================
   Stats
   ========================================== */
.stats {
    background: var(--navy);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

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

.stat-card {
    text-align: center;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 12px;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

/* ==========================================
   Chat Section
   ========================================== */
.chat-section {
    background: linear-gradient(180deg, var(--white), var(--cream));
}

.chat-embed-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.chat-embed-header {
    background: var(--navy);
    padding: 16px 24px;
    color: var(--white);
}

.chat-embed-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ce-avatar {
    width: 44px;
    height: 44px;
    background: var(--green-deep);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.chat-embed-title strong {
    display: block;
    font-size: 16px;
}

.chat-embed-title small {
    font-size: 12px;
    opacity: 0.7;
}

.chat-iframe {
    width: 100%;
    height: 600px;
    background: var(--white);
}

/* ==========================================
   Testimonials
   ========================================== */
.testimonials {
    background: var(--white);
}

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

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

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

.ta-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--green-deep), var(--gold));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
}

.testimonial-author small {
    font-size: 12px;
    color: var(--gray-400);
}

/* ==========================================
   FAQ
   ========================================== */
.faq {
    background: var(--cream);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.faq-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--green-deep);
}

.faq-item h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h4 i {
    color: var(--gold);
}

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

/* ==========================================
   CTA
   ========================================== */
.cta {
    padding: 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: var(--radius-xl);
    padding: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.1), transparent);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 28px;
    max-width: 500px;
    line-height: 1.8;
}

.cta-content .btn-primary {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
}

.cta-content .btn-primary:hover {
    background: var(--gold-light);
}

.cta-visual {
    position: relative;
    z-index: 1;
}

.cta-icon {
    font-size: 100px;
    opacity: 0.9;
    animation: float 6s ease-in-out infinite;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 24px;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-title {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    font-size: 16px;
}

.footer-social a:hover {
    background: var(--green-deep);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li,
.footer-col ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact li i {
    color: var(--gold);
    font-size: 14px;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-tagline {
    margin-top: 8px;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

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

    .hero-visual {
        max-width: 440px;
        margin: 0 auto;
    }

    .hero-card {
        transform: none;
    }

    .floating-stat {
        display: none;
    }

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

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

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

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        flex-direction: column;
        padding-top: 0;
    }

    .connector-line {
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, var(--green-deep), var(--gold));
    }

    .connector-arrow {
        transform: rotate(90deg);
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 48px 32px;
    }

    .cta-content p {
        margin: 0 auto 28px;
    }

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

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    section {
        padding: 60px 0;
    }

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

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

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

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

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

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

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

    .hero-title {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .chat-iframe {
        height: 500px;
    }
}

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

    .hero-desc {
        font-size: 16px;
    }

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

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

    .cta-icon {
        font-size: 60px;
    }
}

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

.feature-card,
.service-card,
.testimonial-card,
.step {
    animation: fadeInUp 0.6s ease backwards;
}

.feature-card:nth-child(2),
.service-card:nth-child(2),
.testimonial-card:nth-child(2),
.step:nth-child(3) { animation-delay: 0.1s; }
.feature-card:nth-child(3),
.service-card:nth-child(3),
.testimonial-card:nth-child(3),
.step:nth-child(5) { animation-delay: 0.2s; }
