/* friton.digital — Exact Designfast Style Match */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, sans-serif;
    background: #000;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* ============================================================
   BACKGROUND SYSTEM
============================================================ */

/* Subtle grid — same as Designfast */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Blue glow blob in the top center */
.bg-glow {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 104, 255, 0.12) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

/* All page content sits above background */
.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

/* ============================================================
   NAVIGATION — Exact Designfast spec
   bg: rgba(15,15,15,1), radius: 20px, height: 82px
   padding: 15px 15px 15px 30px
   shadow: rgba(255,255,255,0.07) 0px 1px 20px inset
============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 20px 20px 0;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    height: 82px;
    padding: 15px 15px 15px 30px;
    background: rgba(15, 15, 15, 1);
    border-radius: 20px;
    box-shadow: rgba(255, 255, 255, 0.07) 0px 1px 20px 0px inset;
    backdrop-filter: blur(20px);
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #fff;
    flex-shrink: 0;
}

.nav-logo span {
    color: rgb(0, 104, 255);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
    white-space: nowrap;
}

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

/* Nav CTA button — Designfast style */
.nav-cta {
    padding: 15px 25px;
    background: rgb(0, 104, 255);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    box-shadow: rgba(255, 255, 255, 0.07) 0px 1px 20px 0px inset;
    transition: filter 0.2s, transform 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-cta:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

/* ============================================================
   HERO — exact values: H1 66px, weight 400, letter-spacing -3.3px
   sub text: 19px, color rgb(150,150,150), max-width 720px
============================================================ */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 200px 20px 120px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 66px;
    font-weight: 400;
    line-height: 1.15;
    /* ~75.9px */
    letter-spacing: -3.3px;
    color: #fff;
    margin-bottom: 28px;
}

.hero-sub {
    font-size: 19px;
    line-height: 1.7;
    color: rgb(150, 150, 150);
    max-width: 720px;
    margin-bottom: 44px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}

/* Primary CTA button */
.cta-btn {
    display: inline-block;
    padding: 16px 32px;
    background: rgb(0, 104, 255);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 20px 0px inset, 0 8px 24px rgba(0, 104, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: rgba(255, 255, 255, 0.15) 0px 1px 25px 0px inset, 0 12px 32px rgba(0, 104, 255, 0.6);
}

.large-cta {
    font-size: 18px;
    padding: 20px 40px;
    border-radius: 16px;
}

/* Secondary CTA button */
.secondary-btn {
    display: inline-block;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero image frame */
.hero-image {
    width: 100%;
    max-width: 1000px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        rgba(255, 255, 255, 0.07) 0px 1px 20px 0px inset,
        0 30px 80px -20px rgba(0, 0, 0, 0.8),
        0 0 100px rgba(0, 104, 255, 0.15);
    /* Suble outer glow */
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 80px;
}

.hero-image img {
    width: 100%;
    display: block;
}

/* Trusted Logos */
.trusted-by {
    text-align: center;
    margin-top: 40px;
}

.trusted-by p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.5;
    filter: grayscale(100%);
}

.trusted-logos span {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
}

/* ============================================================
   SHARED COMPONENTS (Section Headers, Badges)
============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 104, 255, 0.1);
    color: rgb(0, 104, 255);
    border: 1px solid rgba(0, 104, 255, 0.3);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.section-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ============================================================
   EXPERIENCE SECTION (3. Generation)
============================================================ */
.experience-section {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
}

.stat-card h3 {
    font-size: 56px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 0%, rgb(150, 150, 150) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   SERVICES BENTO GRID
============================================================ */
.services-section {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Shared Service Card Styles */
.service-card {
    background: rgb(15, 15, 15);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: rgba(255, 255, 255, 0.04) 0px 1px 20px 0px inset;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s, transform 0.4s;
    overflow: hidden;
    position: relative;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.card-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgb(0, 104, 255);
    margin-bottom: 20px;
}

.service-card h2 {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 16px;
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(0, 104, 255);
    flex-shrink: 0;
}

/* Specific Bento Sizes */
.bento-large {
    grid-column: span 3;
    grid-row: span 1;
    padding: 60px;
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
}

.bento-large .card-content {
    flex: 1;
    max-width: 450px;
}

.bento-large .card-image {
    flex: 1;
    margin-top: 0;
}

.bento-small {
    grid-column: span 1;
    grid-row: span 1;
}

.service-card .card-image {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card .card-image img {
    width: 100%;
    display: block;
}

/* Specific Image Styling for better fit */
.bento-large .card-image {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.inset-img {
    margin: 40px -40px -40px -40px;
    /* Bleed to edges */
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.inset-img img {
    border-radius: 0;
}

/* Force image to the bottom of the card */
.bottom-img {
    margin-top: auto;
}

/* Compact features list for small cards */
.compact-features {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}


/* ============================================================
   PARTNER TEST SECTION
============================================================ */
.partner-test-section {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.partner-content h2 {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -1.5px;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 32px;
}

.partner-content .highlight {
    color: rgb(0, 104, 255);
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 40px;
    border-left: 3px solid rgb(0, 104, 255);
    padding-left: 24px;
}

.partner-image-wrapper {
    position: relative;
}

.partner-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: rgba(255, 255, 255, 0.05) 0px 1px 20px 0px inset, 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================================
   BENEFITS SECTION
============================================================ */
.benefits-section {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.benefit-item {
    padding: 40px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(0, 104, 255, 0.1);
    color: rgb(0, 104, 255);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 24px;
}

.benefit-item h3 {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 16px;
}

.benefit-item p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}


/* ============================================================
   FINAL CTA SECTION
============================================================ */
.final-cta {
    padding: 160px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    /* subtle background glow for CTA */
    background: radial-gradient(circle at center, rgba(0, 104, 255, 0.1) 0%, transparent 60%);
}

.final-cta h2 {
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 24px;
}

.final-cta p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 48px;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 60px 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   SCROLL ANIMATION
============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

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

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .partner-test-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .testimonial-text {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav {
        padding: 15px 20px;
    }

    .hero {
        padding: 140px 20px 80px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .hero-sub {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .cta-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 36px;
    }

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

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

    .bento-large,
    .bento-medium,
    .bento-small {
        grid-column: span 1;
        padding: 30px;
    }

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

    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }
}