/* Tarif Ai – refreshed website styles */

:root {
    --font-primary: 'Outfit', sans-serif;
    --color-primary: #ff6b6b;
    --color-primary-dark: #e25454;
    --color-secondary: #5b5ff7;
    --color-page: #f9f6f2;
    --color-soft: #f2efff;
    --color-surface: #ffffff;
    --color-surface-alt: #f9f7ff;
    --text-strong: #1d1a26;
    --text-body: #5f5a71;
    --text-muted: #8b879b;
    --border-soft: rgba(93, 88, 110, 0.12);
    --shadow-soft: 0 24px 60px rgba(21, 18, 31, 0.12);
    --shadow-hero: 0 40px 90px rgba(14, 10, 28, 0.18);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    background: var(--color-page);
    color: var(--text-strong);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--color-primary);
}

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

.section-padding {
    padding: clamp(90px, 10vw, 140px) 0;
}

.section-soft {
    background: linear-gradient(135deg, rgba(91, 95, 247, 0.12) 0%, rgba(255, 107, 107, 0.12) 100%);
}

.section-features {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(91, 95, 247, 0.08) 100%);
}

.section-header {
    max-width: 720px;
    margin: 0 auto;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    background: rgba(91, 95, 247, 0.12);
    color: var(--color-secondary);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin: 18px 0 12px;
    color: var(--text-strong);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-body);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.btn {
    font-weight: 600;
    border-radius: 999px;
    padding: 0.85rem 1.8rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: #fff;
    box-shadow: 0 20px 42px rgba(255, 107, 107, 0.32);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 24px 56px rgba(226, 84, 84, 0.32);
}

.btn-outline {
    border: 1px solid rgba(29, 26, 38, 0.12);
    color: var(--text-strong);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
}

.btn-outline:hover,
.btn-outline:focus {
    border-color: var(--text-strong);
    color: var(--text-strong);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--text-strong);
    border: none;
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.18);
}

.btn-light:hover,
.btn-light:focus {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(255, 255, 255, 0.26);
}

.navbar {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding: 18px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 14px 0;
    box-shadow: 0 16px 40px rgba(14, 10, 28, 0.08);
    background: rgba(255, 255, 255, 0.95);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--text-strong);
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-body) !important;
    padding: 0.4rem 0.9rem !important;
    border-radius: 999px;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--color-primary) !important;
    background: rgba(255, 107, 107, 0.12);
}

.nav-link-button {
    margin-top: 8px;
    text-align: center;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 0.6rem 1rem;
}

.nav-cta {
    padding: 0.65rem 1.6rem;
    font-size: 0.95rem;
}

.dropdown-menu {
    border-radius: var(--radius-sm);
    border: 1px solid rgba(91, 95, 247, 0.08);
    box-shadow: var(--shadow-soft);
}

.dropdown-item {
    font-weight: 500;
    color: var(--text-body);
}

.hero-section {
    position: relative;
    padding: clamp(80px, 15vw, 160px) 0 clamp(90px, 16vw, 160px);
    background: radial-gradient(circle at top right, rgba(91, 95, 247, 0.15) 0%, transparent 50%), var(--color-page);
}

.hero-blur {
    display: none;
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 520px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(255, 107, 107, 0.12);
    color: var(--color-primary);
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 32px;
}

.hero-checklist {
    list-style: none;
    display: grid;
    gap: 16px;
    color: var(--text-body);
    padding: 0;
}

.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-checklist i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hero-surface {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: none;
    z-index: 3;
    min-width: 300px;
}

.hero-surface::after {
    display: none;
}

.hero-image {
    position: relative;
    z-index: 3;
    max-width: 320px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 36px 90px rgba(14, 10, 28, 0.22));
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-image--secondary {
    position: absolute;
    left: -140px;
    bottom: -40px;
    max-width: 260px;
    z-index: 2;
    opacity: 0.94;
    transform: rotate(-6deg);
    filter: drop-shadow(0 28px 70px rgba(14, 10, 28, 0.2));
}

.hero-image--primary {
    z-index: 3;
}

.hero-stat {
    position: absolute;
    bottom: -48px;
    right: -40px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: 0 25px 50px rgba(255, 107, 107, 0.4);
    max-width: 200px;
}

.hero-stat .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-stat .stat-caption {
    margin: 8px 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.feature-card {
    background: transparent;
    border-radius: var(--radius-md);
    padding: 24px 20px;
    box-shadow: none;
    border: none;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.feature-card:hover {
    transform: translateY(-6px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 107, 107, 0.14);
    color: var(--color-primary);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0;
    text-align: center;
}

.feature-description {
    color: var(--text-body);
    margin-bottom: 0;
    text-align: center;
}

.step-card {
    position: relative;
    background: transparent;
    border-radius: var(--radius-md);
    padding: 48px 28px;
    border: none;
    box-shadow: none;
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.step-card:hover {
    transform: translateY(-6px);
}

.step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--color-secondary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.step-icon {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 18px;
    display: inline-flex;
    justify-content: center;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

.step-description {
    color: var(--text-body);
    text-align: center;
}

.app-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.app-card {
    padding: 0;
    border-radius: var(--radius-md);
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
}

.app-card--right {
    justify-content: flex-end;
}

.app-card--left {
    justify-content: flex-start;
}

.app-card img {
    max-width: 90%;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}

.testimonial-card {
    position: relative;
    padding: 36px 30px;
    background: transparent;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: center;
    align-items: center;
}

.testimonial-icon {
    font-size: 1.8rem;
    color: var(--color-secondary);
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-strong);
    text-align: center;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-strong);
    text-align: center;
}

.download-section {
    background: transparent;
}

.download-surface {
    background: linear-gradient(135deg, #201936 0%, #1f283f 60%, #182229 100%);
    border-radius: var(--radius-lg);
    padding: clamp(36px, 6vw, 64px);
    position: relative;
    overflow: hidden;
}

.download-surface::after {
    content: "";
    position: absolute;
    inset: -20% 40% -30% -20%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.4), transparent 70%);
    opacity: 0.8;
}

.download-surface .row {
    position: relative;
    z-index: 1;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: auto;
    padding: 0.85rem 1.6rem;
}

.download-btn i {
    font-size: 1.4rem;
}

.download-visual {
    position: relative;
    max-width: 420px;
    margin-left: auto;
}

.download-visual img {
    border-radius: var(--radius-md);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
    background: transparent;
}


.contact-card {
    background: transparent;
    border-radius: var(--radius-md);
    padding: clamp(28px, 5vw, 40px);
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-control {
    border-radius: 16px;
    border: 1px solid rgba(29, 26, 38, 0.1);
    padding: 0.85rem 1rem;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.12);
}

.contact-form {
    width: 100%;
}

.contact-form .form-control {
    max-width: 520px;
    margin: 0 auto;
}

.contact-form .btn {
    max-width: 520px;
    margin: 24px auto 0;
    display: block;
}

.footer {
    background: linear-gradient(135deg, #1a1628 0%, #0f0d18 100%);
    color: rgba(255, 255, 255, 0.82);
    padding: 70px 0 40px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: clamp(60px, 10vw, 120px);
}


.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.footer-title {
    display: block;
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 6px;
}

.footer-text {
    max-width: 420px;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 0;
}

.footer-links,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-heading {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(82, 86, 208, 0.18);
    color: #e1e3ff;
    transition: var(--transition);
}

.footer-social-icons a:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin: 24px 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    align-items: center;
    text-align: center;
}

/* Privacy page adjustments */
.privacy-section .section-title {
    margin-top: 0;
}

.privacy-content {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: clamp(32px, 6vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
}

.privacy-section h2 {
    font-size: 1.45rem;
    margin-bottom: 12px;
    color: var(--text-strong);
}

.privacy-section p,
.privacy-section li {
    color: var(--text-body);
}

.privacy-section ul {
    padding-left: 20px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar {
        padding: 14px 0;
        background: rgba(255, 255, 255, 0.92);
    }

    .hero-section {
        padding-top: 140px;
    }

    .hero-surface {
        min-width: 240px;
    }

    .hero-image {
        max-width: 260px;
    }

    .hero-image--secondary {
        left: -80px;
        bottom: -24px;
        max-width: 220px;
    }

    .hero-stat {
        position: static;
        margin-top: 22px;
    }

    .download-visual {
        margin: 0 auto;
    }

    .contact-details,
    .contact-card {
        padding: 28px;
    }
}

@media (max-width: 575px) {
    .hero-image {
        max-width: 230px;
        filter: drop-shadow(0 26px 60px rgba(14, 10, 28, 0.2));
    }

    .hero-image--secondary {
        display: none;
    }
}

/* Footer responsive layout improvements */
@media (min-width: 768px) {
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px;
        text-align: left;
        align-items: start;
    }

    .footer-brand,
    .footer-links,
    .footer-social {
        align-items: flex-start;
    }

    .footer-social-icons {
        justify-content: flex-start;
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-checklist li {
        padding: 12px 16px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }

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

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

    .footer {
        border-radius: 24px 24px 0 0;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.4rem;
    }

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

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

    .hero-checklist {
        gap: 12px;
    }

    .footer-grid {
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-links,
    .footer-social {
        align-items: center;
    }

    .footer-social-icons {
        justify-content: center;
    }
}
