@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');

:root {
    --bg-dark: #020617;
    --bg-mid: #010413;
    --bg-card: rgba(15, 23, 42, 0.65);
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.35);
    --secondary: #6366f1;
    --accent: #fbbf24;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(2, 6, 23, 0.9);
    --luxury-font: 'Fraunces', serif;
    --gradient-main: linear-gradient(135deg, #3b82f6, #6366f1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

body.custom-cursor-active {
    cursor: none;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ================================================
   CONTAINER
   ================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================================================
   CUSTOM CURSOR
   ================================================ */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    transition: transform 0.1s ease;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(59, 130, 246, 0.55);
    transition: transform 0.35s ease, background-color 0.3s ease;
}

/* ================================================
   HEADER / NAVIGATION
   ================================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}

header.scrolled {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-dim);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.cta-btn {
    display: inline-block;
    background: var(--gradient-main);
    color: #fff !important;
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.3);
}

.cta-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(59, 130, 246, 0.5);
}

/* Hamburger (mobile only) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ================================================
   HERO
   ================================================ */
.hero {
    min-height: 100vh;
    padding: 120px 0 0;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 80% at 50% -20%, rgba(59, 130, 246, 0.1) 0%, transparent 65%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg.png') no-repeat center center / cover;
    opacity: 0.04;
    z-index: 0;
}

.hero-bg-accent {
    position: absolute;
    top: -30%;
    right: -5%;
    width: 60%;
    height: 130%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.09) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    width: 100%;
    padding-bottom: 80px;
    min-height: calc(100vh - 120px);
}

.hero-content {
    max-width: 640px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--luxury-font);
    font-size: clamp(2.6rem, 5.5vw, 4.6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.serif {
    font-style: italic;
}

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

.hero p {
    font-size: 1rem;
    color: var(--text-dim);
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-actions .cta-btn {
    padding: 0.85rem 2.2rem;
    font-size: 0.92rem;
}

.hero-actions .secondary-link {
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: color 0.2s;
    text-decoration: none;
}

.hero-actions .secondary-link:hover {
    color: var(--text-main);
}

.hero-image-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    height: 92%;
    z-index: 1;
}

.hero-image-featured {
    width: 100%;
    height: 100%;
    background: url('assets/proof-2.jpg') no-repeat bottom center / cover;
    border-radius: 2.5rem 2.5rem 0 0;
    -webkit-mask-image: linear-gradient(to left, black 55%, transparent 100%),
                        linear-gradient(to bottom, transparent 0%, black 12%);
    mask-image: linear-gradient(to left, black 55%, transparent 100%),
                linear-gradient(to bottom, transparent 0%, black 12%);
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
}

/* ================================================
   TRUST BAR
   ================================================ */
.trust-bar {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-logos span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.18);
    transition: color 0.25s;
    cursor: default;
}

.trust-logos span:hover {
    color: rgba(255, 255, 255, 0.45);
}

/* ================================================
   SECTION GLOBALS
   ================================================ */
section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-header > span {
    display: inline-block;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    background: rgba(59, 130, 246, 0.08);
    padding: 0.38rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.section-header h2 {
    font-family: var(--luxury-font);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.section-header p {
    color: var(--text-dim);
    font-size: 0.98rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.85;
}

/* Glassmorphism card base */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
}

/* ================================================
   JOURNEY / TIMELINE
   ================================================ */
.journey {
    background: var(--bg-dark);
}

.timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 880px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    top: 0;
    background: linear-gradient(to bottom, transparent 0%, var(--primary) 15%, var(--secondary) 85%, transparent 100%);
}

.timeline-item {
    width: 46%;
    padding: 1rem;
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item:nth-child(odd) {
    text-align: right;
    left: 0;
    padding-right: 3.5rem;
}

.timeline-item:nth-child(even) {
    text-align: left;
    left: 54%;
    padding-left: 3.5rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    top: 2rem;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.7);
    border: 2px solid var(--bg-dark);
}

.timeline-item:nth-child(odd)::after {
    right: -7px;
}

.timeline-item:nth-child(even)::after {
    left: -7px;
}

.timeline-content {
    padding: 1.5rem 1.8rem;
    border-radius: 1.2rem;
    transition: border-color 0.3s, transform 0.3s;
}

.timeline-content:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
}

.timeline-date {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.55rem;
}

.timeline-content h3 {
    font-family: var(--luxury-font);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.75;
}

/* ================================================
   CREDIBILITY GALLERY
   ================================================ */
.credibility {
    background: var(--bg-mid);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    height: 320px;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.96) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    color: var(--text-main);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ================================================
   SERVICES
   ================================================ */
.services {
    background: var(--bg-dark);
}

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

.service-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

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

.service-card:hover {
    border-color: rgba(59, 130, 246, 0.28);
    transform: translateY(-5px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.service-icon {
    font-size: 2.4rem;
    margin-bottom: 1.25rem;
    display: block;
}

.service-card h3 {
    font-family: var(--luxury-font);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.75;
}

/* ================================================
   PROCESS
   ================================================ */
.process {
    background: var(--bg-mid);
}

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

.process-grid::before {
    content: '';
    position: absolute;
    top: 2.75rem;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), var(--border), transparent);
    z-index: 0;
}

.process-card {
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: border-color 0.3s, transform 0.3s;
}

.process-card:hover {
    border-color: rgba(59, 130, 246, 0.28);
    transform: translateY(-5px);
}

.process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--gradient-main);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
}

.process-card h3 {
    font-family: var(--luxury-font);
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
}

.process-card p {
    color: var(--text-dim);
    font-size: 0.875rem;
    line-height: 1.75;
}

/* ================================================
   FAQ
   ================================================ */
.faq {
    background: var(--bg-mid);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item.active {
    border-color: rgba(59, 130, 246, 0.32);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 1.8rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.96rem;
    user-select: none;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform 0.35s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.8rem;
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.85;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 220px;
    padding: 0 1.8rem 1.5rem;
}

/* ================================================
   CONTACT
   ================================================ */
.contact {
    background: var(--bg-dark);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.contact-info > span {
    display: inline-block;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    background: rgba(59, 130, 246, 0.08);
    padding: 0.38rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.contact-info h2 {
    font-family: var(--luxury-font);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin: 1rem 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.contact-info > p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.85;
}

.contact-details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.contact-details p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.contact-details strong {
    color: var(--text-main);
}

.contact-form {
    padding: 2.5rem;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.45);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.04);
}

.form-group textarea {
    resize: none;
}

.submit-btn {
    width: 100%;
    background: var(--gradient-main);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover:not(:disabled) {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(59, 130, 246, 0.48);
}

.submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* ================================================
   FOOTER
   ================================================ */
footer {
    background: var(--bg-mid);
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo img {
    height: 35px;
    width: auto;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-dim);
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.social-links a:hover {
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--primary);
    transform: translateY(-3px);
}

.social-links a i {
    width: 18px;
    height: 18px;
}

.copyright {
    color: var(--text-dim);
    font-size: 0.82rem;
}

/* ================================================
   REVEAL ANIMATIONS
   ================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.3s; }

.process-grid .process-card:nth-child(2) { transition-delay: 0.1s; }
.process-grid .process-card:nth-child(3) { transition-delay: 0.2s; }
.process-grid .process-card:nth-child(4) { transition-delay: 0.3s; }

.gallery .gallery-item:nth-child(2) { transition-delay: 0.1s; }
.gallery .gallery-item:nth-child(3) { transition-delay: 0.2s; }
.gallery .gallery-item:nth-child(4) { transition-delay: 0.3s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-image-wrapper {
        width: 46%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
        align-items: flex-start;
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 0.85rem 2rem;
        width: 100%;
    }

    .nav-links li a.cta-btn {
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: var(--primary) !important;
        padding: 0.85rem 2rem;
    }

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

    .hero {
        text-align: center;
        padding-top: 100px;
    }

    .hero .container {
        justify-content: center;
        padding-bottom: 60px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .timeline::before {
        left: 18px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 50px !important;
        padding-right: 0.5rem !important;
    }

    .timeline-item::after {
        left: 11px !important;
        right: auto !important;
    }

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

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

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    section {
        padding: 5rem 0;
    }

    .trust-logos {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }

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

    .contact-form {
        padding: 1.5rem;
    }
}
