/* =============================================
   YalınSoft - Modern Website Styles
   ============================================= */

/* CSS Variables */
:root {
    --primary: #6c3fa0;
    --primary-light: #8b5fc7;
    --primary-dark: #4a2478;
    --secondary: #e94560;
    --accent: #00d2ff;
    --gradient-1: linear-gradient(135deg, #6c3fa0 0%, #e94560 100%);
    --gradient-2: linear-gradient(135deg, #00d2ff 0%, #6c3fa0 100%);
    --gradient-3: linear-gradient(135deg, #6c3fa0 0%, #00d2ff 50%, #e94560 100%);
    --bg-dark: #0a0a1a;
    --bg-section: #f8f9fc;
    --bg-card: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #555570;
    --text-light: #8888a0;
    --border: #e8e8f0;
    --shadow-sm: 0 2px 8px rgba(108, 63, 160, 0.08);
    --shadow-md: 0 8px 30px rgba(108, 63, 160, 0.12);
    --shadow-lg: 0 20px 60px rgba(108, 63, 160, 0.15);
    --shadow-xl: 0 30px 80px rgba(108, 63, 160, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* =============================================
   Preloader
   ============================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-ring {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(108, 63, 160, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

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

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

/* =============================================
   Navigation
   ============================================= */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

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

/* Logo Glow Effect on Dark Background */
.logo-glow {
    position: relative;
}

.logo-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250%;
    height: 400%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.3) 0%, rgba(108, 63, 160, 0.2) 30%, transparent 65%);
    border-radius: 50%;
    z-index: -1;
    animation: logo-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

.logo-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 300%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 30%, transparent 55%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(12px);
    pointer-events: none;
}

.logo-glow img {
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 40px rgba(108, 63, 160, 0.5)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.2));
}

@keyframes logo-pulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Remove glow when navbar is scrolled (light background) */
#navbar.scrolled .logo-glow::before,
#navbar.scrolled .logo-glow::after {
    display: none;
}

#navbar.scrolled .logo-glow img {
    filter: none;
}

#navbar.scrolled .logo img {
    height: 38px;
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

#navbar.scrolled .nav-link {
    color: var(--text-secondary);
}

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

#navbar.scrolled .nav-link:hover,
#navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(108, 63, 160, 0.08);
}

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

.btn-nav {
    font-size: 0.88rem;
    padding: 10px 24px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

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

#navbar.scrolled .hamburger span {
    background: var(--text-primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    padding: 14px 32px;
    box-shadow: 0 4px 20px rgba(108, 63, 160, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 63, 160, 0.5);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 14px 32px;
    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.6);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 10px 24px;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 14px 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(108, 63, 160, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(233, 69, 96, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(0, 210, 255, 0.15) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(108, 63, 160, 0.2);
    border: 1px solid rgba(108, 63, 160, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-description strong {
    color: rgba(255, 255, 255, 0.95);
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    display: inline;
}

.stat-plus {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

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

.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.2rem;
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-1 i {
    color: #00d2ff;
}

.card-2 {
    top: 45%;
    right: -5%;
    animation-delay: 2s;
}

.card-2 i {
    color: #e94560;
}

.card-3 {
    bottom: 5%;
    left: 5%;
    animation-delay: 4s;
}

.card-3 i {
    color: #ffd700;
}

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

/* Dashboard Mock */
.dashboard-mock {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.mock-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mock-dots span:nth-child(1) { background: #ff5f57; }
.mock-dots span:nth-child(2) { background: #febc2e; }
.mock-dots span:nth-child(3) { background: #28c840; }

.mock-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 500;
}

.mock-body {
    display: flex;
    min-height: 280px;
}

.mock-sidebar {
    width: 60px;
    padding: 16px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-menu-item {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.mock-menu-item.active {
    background: var(--primary);
}

.mock-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 20px 0;
}

.mock-bar {
    flex: 1;
    background: var(--gradient-1);
    border-radius: 6px 6px 0 0;
    min-height: 20px;
    animation: grow-bar 2s ease-out forwards;
    transform-origin: bottom;
}

@keyframes grow-bar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.mock-stats-row {
    display: flex;
    gap: 12px;
}

.mock-stat-card {
    flex: 1;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

/* =============================================
   Section Common
   ============================================= */
.section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    background: rgba(108, 63, 160, 0.1);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================
   About Section
   ============================================= */
.about {
    background: var(--bg-section);
}

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

.about-card {
    background: var(--bg-card);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.about-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    margin: 0 auto 24px;
    font-size: 1.5rem;
    color: white;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* =============================================
   Solutions Section
   ============================================= */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.solution-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.solution-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.08);
}

.solution-overlay {
    position: absolute;
    inset: 0;
    background: rgba(108, 63, 160, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.solution-card:hover .solution-overlay {
    opacity: 1;
}

.solution-content {
    padding: 28px;
    position: relative;
}

.solution-badge {
    position: absolute;
    top: -14px;
    right: 20px;
    background: var(--secondary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
}

.solution-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.solution-abbr {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.solution-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.solution-features li i {
    color: #28c840;
    font-size: 0.75rem;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.solution-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

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

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

.feature-card {
    background: var(--bg-card);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 63, 160, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-1);
    color: white;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

/* =============================================
   CTA Section
   ============================================= */
.cta {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(108, 63, 160, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(233, 69, 96, 0.2) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

/* =============================================
   Contact Section
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-section);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.contact-socials a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-socials a:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-primary);
    font-size: 0.92rem;
    color: var(--text-primary);
    background: var(--bg-section);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(108, 63, 160, 0.1);
}

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

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

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--bg-dark);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

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

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

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

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

.footer-links li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links li i {
    font-size: 0.8rem;
    color: var(--primary-light);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
}

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

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

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

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

.powered-by span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

.powered-by a {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.powered-by img {
    height: 28px;
    width: auto;
    opacity: 0.6;
    transition: var(--transition);
}

.powered-by a:hover img {
    opacity: 1;
}

/* =============================================
   Back to Top
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(108, 63, 160, 0.4);
    z-index: 99;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 63, 160, 0.6);
}

/* =============================================
   Animations
   ============================================= */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-left"] {
    transform: translateX(50px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }

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

    .hero-visual {
        display: none;
    }

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

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        font-size: 1.2rem;
        color: white;
        padding: 12px 24px;
    }

    .hamburger {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

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

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

    .hero-description {
        font-size: 1rem;
    }

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

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

    .stat-divider {
        display: none;
    }

    .section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

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

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

    .cta-content h2 {
        font-size: 2rem;
    }

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

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

    .hero-scroll-indicator {
        display: none;
    }
}

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

    .section-header h2 {
        font-size: 1.6rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.92rem;
    }
}
