/* ===========================
   GLOBAL STYLES & RESET
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

/* ===========================
   COLORS & VARIABLES
   =========================== */
:root {
    --primary-color: #00B5E2;
    --secondary-color: #009E60;
    --accent-color: #EF3340;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 181, 226, 0.4);
}

.btn-primary:hover {
    background: #0099c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 181, 226, 0.5);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline-dark:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.4rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.3rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-selector select {
    padding: 0.4rem 0.6rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-selector select:hover,
.lang-selector select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.nav-cta {
    padding: 0.5rem 1.2rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: #0099c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 181, 226, 0.4);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00B5E2 0%, #009E60 50%, #EF3340 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    color: rgba(255, 255, 255, 0.15);
    font-size: 2rem;
    animation: floatParticle 20s linear infinite;
}

.p1 { top: 20%; left: 10%; animation-delay: 0s; font-size: 3rem; }
.p2 { top: 60%; left: 80%; animation-delay: 3s; font-size: 2.5rem; }
.p3 { top: 40%; left: 50%; animation-delay: 6s; font-size: 2rem; }
.p4 { top: 80%; left: 20%; animation-delay: 9s; font-size: 1.5rem; }
.p5 { top: 10%; left: 70%; animation-delay: 12s; font-size: 2.5rem; }

@keyframes floatParticle {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    animation: fadeInUp 0.8s ease;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.2rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 700px;
    margin: 0 auto;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-stat-icon {
    font-size: 1.5rem;
}

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

.hero-stat-text strong {
    display: block;
    font-size: 0.9rem;
}

.hero-stat-text span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.hero-stat-divider {
    width: 1px;
    height: 35px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 3px solid rgba(255, 255, 255, 0.6);
    border-bottom: 3px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
    50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

/* ===========================
   SHARED SECTION STYLES
   =========================== */
.section {
    padding: 5rem 0;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 181, 226, 0.1), rgba(0, 158, 96, 0.1));
    color: var(--primary-color);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(0, 181, 226, 0.2);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about-section {
    background: var(--bg-light);
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 181, 226, 0.2);
}

.about-card-main {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(0, 181, 226, 0.05), rgba(0, 158, 96, 0.05));
    border: 2px solid rgba(0, 181, 226, 0.15);
    text-align: center;
}

.about-icon-big {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.about-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
}

.about-card-icon svg {
    width: 24px;
    height: 24px;
}

.about-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===========================
   PROBLEM SECTION
   =========================== */
.problem-section {
    background: var(--bg-white);
    text-align: center;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.problem-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-color);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 64px;
    height: 64px;
    margin-left: auto;
    margin-right: auto;
}

.problem-icon svg {
    width: 100%;
    height: 100%;
}

.problem-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   HOW IT WORKS SECTION
   =========================== */
.how-section {
    background: var(--bg-light);
    text-align: center;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.step-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: 'Poppins', sans-serif;
}

.step-icon-lg {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    width: 72px;
    height: 72px;
    margin-left: auto;
    margin-right: auto;
}

.step-icon-lg svg {
    width: 100%;
    height: 100%;
}

.step-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    align-self: center;
}

.connector-line {
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.connector-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.infographic-wrapper {
    margin-top: 3rem;
    text-align: center;
}

.infographic-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* ===========================
   FEATURES SECTION
   =========================== */
.features-section {
    background: var(--bg-white);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(0, 181, 226, 0.2);
    background: var(--bg-white);
}

.feature-highlight {
    background: linear-gradient(135deg, rgba(0, 181, 226, 0.08), rgba(0, 158, 96, 0.08));
    border-color: rgba(0, 181, 226, 0.2);
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrap {
    transform: scale(1.1);
}

.feature-icon-wrap svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

/* ===========================
   TRUST / STATS SECTION
   =========================== */
.trust-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-number {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
}

.trust-plus {
    font-size: 2rem;
    font-weight: 700;
    opacity: 0.8;
    margin-top: -0.3rem;
}

.trust-label {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 0.3rem;
}

/* ===========================
   SIGNUP / REGISTRATION SECTION
   =========================== */
.signup-section {
    background: var(--bg-light);
    text-align: left;
}

.signup-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.signup-left {
    padding: 2rem 0;
}

.signup-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.signup-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.signup-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.benefit-check {
    width: 28px;
    height: 28px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.benefit-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.signup-trust-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 0.8rem 1rem;
    background: rgba(0, 181, 226, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 181, 226, 0.1);
}

.signup-trust-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* FORM */
.signup-right {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.signup-form {
    width: 100%;
}

.form-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.4s ease;
    width: 50%;
}

.progress-steps {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--border-color);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.progress-step.active {
    background: var(--primary-color);
    color: #fff;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.form-step-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 181, 226, 0.1);
}

.form-group input.error {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(239, 51, 64, 0.1);
}

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

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-buttons .btn {
    flex: 1;
}

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.form-success.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.form-success h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.form-success p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.success-social {
    margin-top: 1.5rem;
}

.success-social p {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.success-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--text-dark);
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Form Messages */
.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    animation: slideDown 0.3s ease;
}

.form-message-info {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.form-message-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.form-message-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

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

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 64px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 6px;
}

.footer-brand p {
    color: #bbb;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-nav,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-contact a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-contact a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    color: #999;
    font-size: 0.85rem;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-logo img {
        height: 70px;
    }

    .nav-cta {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
    }

    .hero-stat-divider {
        width: 60%;
        height: 1px;
    }

    .step-connector {
        display: none;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    .signup-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    /* ========================================
       MOBILE OVERFLOW FIXES
       Override inline styles that cause overflow
       ======================================== */

    /* FIX 1: Hero visual — 340px sabit genişlik taşıyor */
    .hero-content.hero-split {
        flex-direction: column !important;
        text-align: center !important;
        padding: 0 1rem !important;
        gap: 1.5rem !important;
    }

    .hero-visual {
        flex: 1 1 auto !important;
        max-width: 80% !important;
        width: 100% !important;
    }

    .hero-visual img {
        max-height: 300px !important;
        width: 100% !important;
    }

    .hero-text {
        flex: 1 1 auto !important;
    }

    .hero-text .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }

    /* FIX 2: About split layout — 420px sabit resim taşıyor */
    .about-split-layout {
        flex-direction: column !important;
        gap: 24px !important;
    }

    .about-split-layout > div {
        flex: 1 1 auto !important;
        max-width: 100% !important;
    }

    .about-main-img {
        max-height: 250px !important;
        width: 100% !important;
    }

    /* FIX 3: About features grid — 3 kolon → 1 kolon */
    .about-features-grid {
        grid-template-columns: 1fr !important;
    }

    /* FIX 4: Az-challenges grid — 2 kolon → 1 kolon */
    .az-challenges-grid {
        grid-template-columns: 1fr !important;
    }

    .az-ch-card {
        padding: 20px !important;
    }

    /* FIX 5: Az-challenges istatistik bandı — yatay → dikey */
    .az-challenges-grid + div {
        flex-direction: column !important;
        padding: 20px 16px !important;
        gap: 12px !important;
    }

    /* Dikey ayraçları yataya çevir */
    .az-challenges-grid + div > div[style*="width:1px"] {
        width: 60% !important;
        height: 1px !important;
        margin: 0 auto;
    }

    /* FIX 6: Az-challenges başlık boyutları */
    .az-challenges-header h2 {
        font-size: 1.5rem !important;
    }

    .az-challenges-header p {
        font-size: 0.9rem !important;
    }

    /* FIX 7: Genel img taşma koruması */
    img {
        max-width: 100%;
        height: auto;
    }

    /* FIX 8: Section img (features visual, problem infographic) */
    .features-visual .section-img,
    .problem-infographic .section-img {
        max-width: 100% !important;
        max-height: 300px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

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

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

    .signup-right {
        padding: 1.5rem;
    }

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

    /* ========================================
       SMALL PHONE OVERFLOW FIXES (≤480px)
       ======================================== */

    /* Hero daha da küçük */
    .hero-visual {
        max-width: 70% !important;
    }

    .hero-visual img {
        max-height: 250px !important;
        border-radius: 16px !important;
    }

    /* Hero badge yazı boyutu */
    .hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    /* About resim daha küçük */
    .about-main-img {
        max-height: 200px !important;
    }

    /* About kart ikonları daha küçük */
    .about-card-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .about-card-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    /* Az-challenge kart ikonları */
    .az-ch-card {
        padding: 16px !important;
    }

    /* Feature ikonları */
    .feature-icon-wrap {
        width: 48px !important;
        height: 48px !important;
    }

    .feature-icon-wrap svg {
        width: 22px !important;
        height: 22px !important;
    }

    /* Problem ikonları */
    .problem-icon {
        width: 52px !important;
        height: 52px !important;
    }

    /* Step ikonları */
    .step-icon-lg {
        width: 56px !important;
        height: 56px !important;
    }

    /* Step numarası */
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Footer logo */
    .footer-logo {
        height: 50px;
        max-width: 140px;
    }

    /* Nav logo daha küçük */
    .nav-logo img {
        height: 55px;
    }

    /* İstatistik bandı yazıları */
    .az-challenges-grid + div div[style*="font-size:1.8rem"] {
        font-size: 1.4rem !important;
    }
}

/* ===========================
   ACCESSIBILITY & UTILITY
   =========================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

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

/* ===========================
   HERO SPLIT LAYOUT
   =========================== */
.hero-split {
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
    max-width: 1200px;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInRight 1s ease;
    object-fit: cover;
}

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

/* Hero split responsive */
@media (max-width: 768px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-visual img {
        max-height: 300px;
        max-width: 80%;
    }

    .hero-text .hero-ctas {
        justify-content: center;
    }

    .hero-text .hero-stats {
        justify-content: center;
    }
}

/* ===========================
   ABOUT SECTION VISUAL
   =========================== */
.about-visual {
    margin-bottom: 1.5rem;
}

.about-main-img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

/* ===========================
   SECTION IMAGES (Problem, Features)
   =========================== */
.section-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.problem-infographic {
    text-align: center;
    margin-top: 2rem;
}

.problem-infographic .section-img {
    max-height: 600px;
    object-fit: contain;
}

.features-visual {
    text-align: center;
    margin-top: 3rem;
}

.features-visual .section-img {
    max-height: 450px;
    object-fit: contain;
}

/* ===========================
   SVG ICON IMPROVEMENTS
   =========================== */
.about-card-icon svg,
.feature-icon-wrap svg {
    width: 28px;
    height: 28px;
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-contact a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.signup-trust-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
