/* =======================
   GLOBAL STYLES
======================= */
* {
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.trust-container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
    margin-top:80px;
}

/* =======================
   HEADER
======================= */
.header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.logo-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-link:hover {
    color: #4f46e5;
}

/* NAVIGATION */
.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    text-decoration: none;
    color: #1e293b; /* default text */
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav a::after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background: #7C3AED; /* subtle purple underline */
    transition: width 0.3s ease;
    position: absolute;
    bottom: -4px;
    left: 0;
}

.nav a:hover {
    color: #7C3AED; /* subtle purple text */
}

.nav a:hover::after {
    width: 100%;
}


/* BURGER */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    width: 28px;
    height: 3px;
    background: #1e293b;
    display: block;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* MOBILE NAVIGATION */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: start;
        padding: 80px 20px 20px;
        gap: 20px;
        box-shadow: -4px 0 12px rgba(0,0,0,0.05);
        transition: right 0.3s ease;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 1.1rem;
    }
}


/* =======================
   HERO
======================= */
.hero {
    display:flex; 
    flex-wrap:wrap; 
    align-items:center; 
    justify-content:space-between; 
    padding:100px 0; 
    background:linear-gradient(135deg,#f0f4ff 0%,#ffffff 100%);
}

.hero-inner {
    display:flex; 
    flex-wrap:wrap; 
    align-items:center; 
    width:100%;
}

.hero-text {
    flex:1 1 400px; 
    max-width:600px;
}

.hero-text h1 {
    font-size:3rem; 
    line-height:1.2; 
    margin-bottom:20px;
    font-family:'Poppins',sans-serif;
    font-weight:700;
}

.hero-text h1 span {
    color:#4f46e5;
}

.hero-text p {
    font-size:1.2rem; 
    margin-bottom:30px; 
    color:#555;
}

.btn-primary {
    display:inline-block; 
    padding:14px 28px; 
    border-radius:12px; 
    font-weight:600; 
    background: linear-gradient(135deg,#7c3aed,#c084fc);
    color:#fff; 
    transition: all 0.3s ease;
    box-shadow:0 6px 20px rgba(124, 58, 237,0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg,#c084fc,#7c3aed);
    transform: translateY(-2px);
    box-shadow:0 12px 25px rgba(124, 58, 237,0.25);
}

.hero-illustration {
    flex:1 1 300px; 
    text-align:right;
}

.hero-illustration img {
    max-width:100%; 
    height:auto; 
    border-radius:16px;
    box-shadow:0 12px 30px rgba(0,0,0,0.08);
}


/* =======================
   FLOWS SECTION
======================= */
.flows {
    background: #f9f9f9;
    padding: 5rem 0;
}

.flows h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 3rem;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: stretch; /* ensures equal height */
}

.flow-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);

    display: flex;
    flex-direction: column;
    height: 100%; /* ⭐ ყველა ქარდი ერთ ზომაზე */

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;

    background: rgba(124, 58, 237, 0.1); /* იგივე იასამნისფერი ტონი */
    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 1.2rem;
}

.flow-icon img {
    width: 22px;
    height: 22px;
    display: block;
    opacity: 0.95;
}


.flow-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(124, 58, 237,0.15);
}


.flow-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}


.flow-card p {
    font-family: 'Inter', sans-serif;
    font-size:1rem;
    color:#555;
    line-height:1.6;

    flex-grow: 1; /* ⭐ magic */
}


.flow-card button {
    margin-top: 1.5rem;

    padding:0.8rem 1.6rem;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#7c3aed,#c084fc);
    color:#fff;
    font-weight:600;
    font-family:'Inter',sans-serif;
    cursor:pointer;
    transition: all 0.3s ease;
    box-shadow:0 4px 14px rgba(124, 58, 237,0.12);
}


.flow-card button:hover {
    background: linear-gradient(135deg,#c084fc,#7c3aed);
    transform: translateY(-2px);
    box-shadow:0 6px 20px rgba(124, 58, 237,0.18);
}

/* =======================
   HOW IT WORKS
======================= */
.hiw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.hiw-step {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hiw-step:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(124, 58, 237,0.15);
}

.hiw-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiw-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* ფერის კონტროლი CSS-ით */
    filter: none; /* თუ SVG-ში ფერი არაა */
}

/* ფერადი ეფექტის დამატება უნიკალური თითოეული იკონისთვის */
.hiw-step:nth-child(1) .hiw-icon img { filter: invert(42%) sepia(74%) saturate(400%) hue-rotate(270deg) brightness(90%) contrast(95%); } /* purple */
.hiw-step:nth-child(2) .hiw-icon img { filter: invert(50%) sepia(72%) saturate(400%) hue-rotate(180deg) brightness(95%) contrast(90%); } /* blue */
.hiw-step:nth-child(3) .hiw-icon img { filter: invert(52%) sepia(72%) saturate(400%) hue-rotate(90deg) brightness(95%) contrast(90%); } /* green */
.hiw-step:nth-child(4) .hiw-icon img { filter: invert(55%) sepia(65%) saturate(500%) hue-rotate(0deg) brightness(95%) contrast(90%); } /* orange */


.hiw-step h3 {
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: #111;
}

.hiw-step p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}
/* =======================
   TRUST / TESTIMONIALS
======================= */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.trust-card {
    background: #fff;
    padding: 30px 24px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(124, 58, 237,0.12);
}

.trust-avatar {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 50%;
    overflow: hidden;
}

.trust-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trust-card p {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
}

.trust-card span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #111;
}


/* =======================
   WIZARD & RESULT
======================= */
.wizard, .result {
    padding: 80px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard .container, .result .container {
    max-width: 600px;
    text-align: center;
}

.wizard h2 {
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 600;
    color: #1e293b;
}

.wizard .options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.wizard .options button {
    padding: 16px 24px;
    font-size: 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg,#7c3aed,#c084fc);
    color: #fff;
    font-weight: 500;
    transition: all 0.2s ease;
}

.wizard .options button:hover {
    background: linear-gradient(135deg,#c084fc,#7c3aed);
    transform: translateY(-2px);
}

.result-card {
    background: linear-gradient(135deg, #ffffff, #f8f4ff); /* მსუბუქი gradient */
    padding: 28px 24px;
    margin-bottom: 20px;
    border-radius: 20px; /* უფრო რბილი კუთხეები */
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.08); /* ფერი subtle purple */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(124, 58, 237, 0.12);
}

.result-card h3, .result-card h4 {
    margin: 0;
    color: #1e293b;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.result-card p {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
}


.result .primary-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #7c3aed, #c084fc);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(124, 58, 237,0.15);
}

.result .primary-btn:hover {
    background: linear-gradient(135deg, #c084fc, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(124, 58, 237,0.25);
}


/* =======================
   PROGRESS
======================= */
.progress-wrapper {
    margin-bottom: 24px;
}

.progress-bar {
    width: 100%;
    height: 12px; /* მეტი სიმაღლე human-friendly */
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #c084fc);
    transition: width 0.4s ease;
    border-radius: 999px;
}

.progress-text {
    margin-top: 8px;
    font-size: 13px;
    text-align: right;
    color: #6b7280;
    font-weight: 500;
}


/* =======================
   FOOTER
======================= */
.footer {
    background-color: #f8fafc;
    color: #333333;
    padding: 20px 0;
    margin-top:80px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left p {
    margin: 0;
}

.footer-right a {
    color: #555555;
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-right a:hover {
    color: #000000;
}


/* =========================
   CONTACT PAGE
========================= */

.contact-page {
    min-height: 100vh;
}

/* HERO */
.contact-hero {
    padding: 80px 0 40px;
    background: var(--bg-secondary);
    text-align: center;
}

.contact-hero h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.contact-subtitle {
    max-width: 600px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 auto;
}

/* CONTENT */
.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* CONTACT INFO */
.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 20px;
}

.contact-list .label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-list a {
    color: var(--primary);
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

/* CONTACT FORM */
.contact-form-wrapper {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-form-wrapper h2 {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-input);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-primary {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 28px;
    font-size: 15px;
}

.form-note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        padding: 50px 0 30px;
    }
}


@media (max-width: 600px) {
    .footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-right {
        margin-top: 10px;
    }
    .footer-right a {
        margin-left: 0;
        margin-right: 15px;
    }
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 1024px) {
    .hero-inner h1 { font-size: 42px; }
}

@media (max-width: 768px) {
    .hero-inner h1 { font-size: 34px; }
    .flow-grid { grid-template-columns: 1fr; }
    .hiw-step h3 {
        font-size: 1.15rem;
    }
    .hiw-step p {
        font-size: 0.95rem;
    }
    .hiw-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 15px;
    }
    .hero-illustration {
        margin-top: 20px;
    }
    .flow-card {
        padding: 2rem 1.5rem;
    }

    .flow-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 1rem;
    }

    .flow-icon img {
        width: 20px;
        height: 20px;
    }

    .flow-card h3 {
        font-size: 1.2rem;
    }

    .flow-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .flows { padding: 3rem 1rem; }
    .hero { padding: 3rem 1rem; }
    .hiw-grid {
        gap: 20px;
    }
    .hiw-step {
        padding: 2rem 1.5rem;
    }
}
