/* ============================================
   ForyouDanışmanlık - Premium Corporate Theme
   Modern, Minimal, Apple-like Design
   ============================================ */

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Primary Colors - Brand Teal Blue */
    --primary: #2398c3;
    --primary-light: #3eb5dc;
    --primary-dark: #1a7a9e;
    --primary-subtle: #e6f5fa;

    /* Accent Colors */
    --accent: #1e3a5f;
    --accent-light: #2d5a8a;
    --accent-gold: #d69e2e;

    /* Neutral Colors */
    --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;
    --gray-900: #171923;

    /* Semantic Colors */
    --success: #38a169;
    --warning: #d69e2e;
    --error: #e53e3e;
    --info: #3182ce;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-max: 1280px;
    --container-padding: clamp(20px, 5vw, 40px);

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-glass: 0 8px 32px rgba(26, 54, 93, 0.1);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(20px);
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== UTILITY CLASSES ==================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding) 0;
}

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

.section-header .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-header .subtitle::before,
.section-header .subtitle::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin: 0;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.25);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--primary-subtle);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn i {
    font-size: 1rem;
}

/* ==================== HEADER & NAVIGATION ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.header.scrolled {
    padding: 12px 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
}

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

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

.logo img {
    height: 50px;
    width: auto;
    transition: all var(--transition-base);
}

/* Show white logo by default, hide dark logo */
.logo .logo-dark {
    display: none;
}

.logo .logo-light {
    display: block;
}

/* When scrolled, show dark logo, hide white logo */
.header.scrolled .logo .logo-dark {
    display: block;
}

.header.scrolled .logo .logo-light {
    display: none;
}

.header.scrolled .logo img {
    height: 42px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    transition: color var(--transition-base);
}

.header.scrolled .logo-text {
    color: var(--primary);
}

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

.nav-link {
    padding: 10px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.header.scrolled .nav-link {
    color: var(--gray-600);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary);
    background: var(--primary-subtle);
}

.nav-cta {
    margin-left: 16px;
}

.nav-cta .btn {
    padding: 12px 24px;
    font-size: 0.875rem;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 10;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.header.scrolled .mobile-toggle span {
    background: var(--gray-700);
}

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

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

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

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 100px 30px 40px;
    z-index: 999;
    overflow-y: auto;
}

.mobile-nav.open {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.mobile-nav a {
    display: block;
    padding: 18px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    bottom: -10%;
    left: -5%;
    animation-delay: -5s;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-light);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(-30px, -20px) scale(1.03); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.02em;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero h1 .highlight {
    color: var(--white);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
}

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

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

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

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 700px;
    z-index: 1;
    display: none;
}

@media (min-width: 1200px) {
    .hero-image {
        display: block;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==================== SERVICES TAGS (Hero) ==================== */
.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-base);
    backdrop-filter: blur(8px);
}

.hero-service-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-service-tag i {
    font-size: 1rem;
    opacity: 0.7;
}

/* ==================== PROCESS / HOW WE WORK ==================== */
.process {
    background: var(--gray-50);
}

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

.process-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 0;
}

.process-item {
    position: relative;
    text-align: center;
    z-index: 1;
}

.process-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
}

.process-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: all var(--transition-base);
}

.process-icon .process-num {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-item:hover .process-icon {
    background: var(--primary);
    transform: scale(1.05);
}

.process-item:hover .process-icon i {
    color: var(--white);
}

.process-item h4 {
    margin-bottom: 12px;
    color: var(--gray-800);
}

.process-item p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.6;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-float {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.about-image-float .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.about-image-float span {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content .lead {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.about-feature-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.about-feature h5 {
    margin-bottom: 4px;
    color: var(--gray-800);
}

.about-feature p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    background: var(--gray-50);
}

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

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

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

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--primary);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h4 {
    margin-bottom: 16px;
    color: var(--gray-800);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.7;
}

/* ==================== STATS SECTION ==================== */
.stats {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="5" height="5" patternUnits="userSpaceOnUse"><circle cx="2.5" cy="2.5" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

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

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==================== PARTNERS / REFERENCES ==================== */
.partners {
    background: var(--white);
}

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

.partners-intro p {
    font-size: 1.125rem;
    color: var(--gray-500);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}

.partner-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/10;
    transition: all var(--transition-base);
    overflow: hidden;
}

.partner-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-base);
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Partner Types */
.partner-types {
    margin-top: 60px;
}

.partner-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.partner-type-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.partner-type-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.partner-type-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.partner-type-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.partner-type-content h4 {
    margin-bottom: 8px;
    color: var(--gray-800);
}

.partner-type-content p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin: 0;
}

/* ==================== FAQ / ACCORDION ==================== */
.faq {
    background: var(--gray-50);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--gray-300);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    cursor: pointer;
    gap: 20px;
}

.faq-question h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0;
    transition: color var(--transition-base);
}

.faq-item.active .faq-question h4 {
    color: var(--primary);
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.faq-icon i {
    font-size: 0.875rem;
    color: var(--gray-500);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    background: var(--primary);
}

.faq-item.active .faq-icon i {
    color: var(--white);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-answer-inner {
    padding: 0 28px 24px;
    color: var(--gray-600);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    padding-right: 40px;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.contact-item-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-item-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.contact-item-content h5 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.contact-item-content p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin: 0;
}

.contact-socials {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.contact-socials h5 {
    font-size: 0.9375rem;
    margin-bottom: 16px;
    color: var(--gray-700);
}

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

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    color: var(--gray-500);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-50);
    padding: 48px;
    border-radius: var(--radius-xl);
}

.contact-form {
    display: grid;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--gray-700);
    transition: all var(--transition-base);
    outline: none;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-subtle);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.contact-form .btn {
    width: 100%;
    padding: 18px;
}

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

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="lines" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 0 10 L 10 0" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23lines)"/></svg>');
    pointer-events: none;
}

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

.cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

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

.cta .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta .btn-primary:hover {
    background: var(--gray-100);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    color: var(--gray-400);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

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

.footer-links a {
    display: block;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: color var(--transition-base);
}

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

.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger Animation */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger.active > *:nth-child(5) { transition-delay: 0.5s; }
.stagger.active > *:nth-child(6) { transition-delay: 0.6s; }

.stagger.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .about-grid {
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-grid > *:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

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

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

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

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

    .partner-type-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .hero-content {
        padding: 100px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .hero-stat {
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-stat:last-child {
        border-bottom: none;
    }

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

    .about-image {
        order: -1;
    }

    .about-image-float {
        bottom: -20px;
        right: 20px;
    }

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

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

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

    .hero-service-tag {
        width: 100%;
        justify-content: center;
    }

    .btn {
        padding: 14px 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus States */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    padding: 16px 24px;
    background: var(--primary);
    color: var(--white);
    z-index: 9999;
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: 0;
}

/* ==================== HERO SLIDER ==================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

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

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(35, 152, 195, 0.92) 0%, rgba(26, 122, 158, 0.95) 100%);
}

/* hero-slide-content is defined in HERO SLIDER - VISUAL ELEMENTS section */

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
    pointer-events: none;
}

.slider-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.slider-arrow i {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .slider-arrows {
        display: none;
    }

    .slider-nav {
        bottom: 30px;
    }
}

/* ==================== MODAL STYLES ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

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

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--gray-900);
}

.modal-header p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin: 8px 0 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.modal-body {
    padding: 28px 32px;
}

.modal-form {
    display: grid;
    gap: 20px;
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-form .form-group input,
.modal-form .form-group textarea,
.modal-form .form-group select {
    width: 100%;
    padding: 16px 18px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--gray-700);
    transition: all var(--transition-base);
    outline: none;
}

.modal-form .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.modal-form .form-group input:focus,
.modal-form .form-group textarea:focus,
.modal-form .form-group select:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-subtle);
}

.modal-form .form-group input::placeholder,
.modal-form .form-group textarea::placeholder {
    color: var(--gray-400);
}

.modal-form .btn {
    width: 100%;
    padding: 16px;
    margin-top: 8px;
}

/* Honeypot field - hidden from users */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

@media (max-width: 540px) {
    .modal {
        max-width: 100%;
        border-radius: var(--radius-lg);
    }

    .modal-header,
    .modal-body {
        padding: 20px 24px;
    }

    .modal-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==================== LOADING SPINNER ==================== */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ==================== FORM VALIDATION STATES ==================== */
.form-group.error input,
.form-group.error textarea {
    border-color: var(--error);
}

.form-group.error input:focus,
.form-group.error textarea:focus {
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
}

.form-error {
    font-size: 0.8125rem;
    color: var(--error);
    margin-top: 6px;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

/* ==================== SWEETALERT CUSTOM STYLES ==================== */
/* SweetAlert must be above modal */
.swal2-container {
    z-index: 99999 !important;
}

.swal2-popup {
    border-radius: var(--radius-xl) !important;
    padding: 32px !important;
    z-index: 99999 !important;
}

.swal2-title {
    font-family: var(--font-primary) !important;
    font-size: 1.5rem !important;
    color: var(--gray-900) !important;
}

.swal2-html-container {
    font-family: var(--font-primary) !important;
    color: var(--gray-600) !important;
}

.swal2-confirm {
    background: var(--primary) !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
}

.swal2-confirm:focus {
    box-shadow: 0 0 0 4px var(--primary-subtle) !important;
}

/* ==================== HERO SLIDER - VISUAL ELEMENTS ==================== */
.hero-slide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    min-height: 100vh;
    padding-top: 100px;
}

.hero-slide-content {
    flex: 1;
    max-width: 650px;
    padding: 40px 0;
}

.hero-visual {
    flex: 0 0 auto;
    width: 320px;
    height: 320px;
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .hero-visual {
        display: block;
    }
}

@media (min-width: 1024px) {
    .hero-visual {
        width: 400px;
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .hero-visual {
        width: 480px;
        height: 480px;
    }
}

.hero-visual-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.hero-icon-circle {
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 80px rgba(255, 255, 255, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    animation: iconPulse 4s ease-in-out infinite;
}

@media (min-width: 1200px) {
    .hero-icon-circle {
        width: 220px;
        height: 220px;
    }
}

.hero-icon-circle i {
    font-size: 4rem;
    color: var(--white);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1200px) {
    .hero-icon-circle i {
        font-size: 5rem;
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.15),
            0 0 80px rgba(255, 255, 255, 0.1),
            inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow:
            0 25px 80px rgba(0, 0, 0, 0.2),
            0 0 100px rgba(255, 255, 255, 0.15),
            inset 0 0 40px rgba(255, 255, 255, 0.15);
    }
}

/* Floating Icons */
.hero-floating-icon {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-base);
}

.hero-floating-icon i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-floating-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Floating positions and animations */
.hero-floating-icon.floating-1 {
    top: 5%;
    left: 15%;
    animation: floatIcon1 6s ease-in-out infinite;
}

.hero-floating-icon.floating-2 {
    top: 10%;
    right: 10%;
    animation: floatIcon2 7s ease-in-out infinite;
}

.hero-floating-icon.floating-3 {
    bottom: 15%;
    left: 8%;
    animation: floatIcon3 8s ease-in-out infinite;
}

.hero-floating-icon.floating-4 {
    bottom: 5%;
    right: 15%;
    animation: floatIcon4 6.5s ease-in-out infinite;
}

@keyframes floatIcon1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(-5px, -25px) rotate(-3deg); }
    75% { transform: translate(-15px, -10px) rotate(3deg); }
}

@keyframes floatIcon2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-15px, 10px) rotate(-5deg); }
    50% { transform: translate(-25px, -5px) rotate(3deg); }
    75% { transform: translate(-10px, -15px) rotate(-3deg); }
}

@keyframes floatIcon3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, 10px) rotate(3deg); }
    50% { transform: translate(5px, 20px) rotate(-5deg); }
    75% { transform: translate(-10px, 5px) rotate(2deg); }
}

@keyframes floatIcon4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-10px, -10px) rotate(-3deg); }
    50% { transform: translate(15px, -5px) rotate(5deg); }
    75% { transform: translate(5px, 15px) rotate(-2deg); }
}

/* ==================== CAPTCHA STYLES ==================== */
.captcha-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.captcha-image-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 8px 12px;
}

.captcha-image {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--white);
    user-select: none;
    position: relative;
    overflow: hidden;
}

.captcha-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.05) 2px,
            rgba(255,255,255,0.05) 4px
        );
}

.captcha-refresh {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.captcha-refresh:hover {
    background: var(--primary-light);
    transform: rotate(180deg);
}

.captcha-refresh i {
    font-size: 1rem;
}

.captcha-input {
    flex: 1;
    min-width: 120px;
}

.captcha-input input {
    width: 100%;
    padding: 14px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    outline: none;
    transition: all var(--transition-base);
}

.captcha-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-subtle);
}

.captcha-input input::placeholder {
    letter-spacing: normal;
    text-transform: none;
    font-weight: 400;
}

.form-group.error .captcha-input input {
    border-color: var(--error);
}

.form-group.error .captcha-input input:focus {
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
}
