/* Font Face Declarations */
@font-face {
    font-family: 'Satoshi';
    src: url('public/Satoshi-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('public/Satoshi-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth !important;
    scroll-padding: 6vw;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color:#0D0D0D;
    color: #ffffff;
    line-height: 1.6;

}

/* Modern Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #fad3a6, #e6c295);
    border-radius: 4px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #e6c295, #d4b085);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #fad3a6 #1a1a1a;
}

.show_mobile {
    display: none;

    @media (max-width: 1024px) {
        display: block !important;
    }
}

.hide_mobile {
    display: block;

    @media (max-width: 1024px) {
        display: none !important;
    }
}


.header__menu {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 30px;
    height: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    min-width: 30px;
    min-height: 24px;
}

/* Debug para iPhone - remover depois de testar */
@media (max-width: 1024px) {
    .header__menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .header__menu {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    .header__menu .hamburger-line {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
}

    .hamburger-line {
        display: block;
        width: 100%;
        height: 3px;
        background: #ffffff;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
        flex-shrink: 0;
        -webkit-transform-origin: center;
        -moz-transform-origin: center;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
    }

    &.active {
        .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
            -webkit-transform: rotate(45deg) translate(6px, 6px);
        }
        
        .hamburger-line:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
            -webkit-transform: scaleX(0);
        }
        
        .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
            -webkit-transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Sidebar Styles */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100dvh;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;

    a {
        display: flex;
    }
}

.sidebar-logo {
    max-width: 150px;
    height: 40px;
    width: auto;
    object-fit: contain;
}

.sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;

    &:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .close-line {
        width: 20px;
        height: 2px;
        background: #fff;
        border-radius: 1px;
        position: absolute;
        transition: all 0.3s ease;

        &:nth-child(1) {
            transform: rotate(45deg);
        }

        &:nth-child(2) {
            transform: rotate(-45deg);
        }
    }
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
}

.sidebar-link {
    padding: 0.875rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;

    &:hover {
        background: rgba(255, 255, 255, 0.05);
        border-left-color: #fad3a6;
        padding-left: 2rem;
    }

    &:active {
        transform: scale(0.98);
    }
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.sidebar-cta {
    width: 100% !important;
    max-height: 42px;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    transform: translateY(0);
    border-radius: 4px !important;

    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(250, 211, 166, 0.3);
    }

    &:active {
        transform: translateY(0);
    }
}

/* Animations for sidebar links */
.sidebar-link {
    opacity: 0;
    transform: translateX(30px);
}

.sidebar.active .sidebar-link {
    animation: slideInRight 0.6s ease forwards;
}

.sidebar.active .sidebar-link:nth-child(1) { animation-delay: 0.1s; }
.sidebar.active .sidebar-link:nth-child(2) { animation-delay: 0.2s; }
.sidebar.active .sidebar-link:nth-child(3) { animation-delay: 0.3s; }
.sidebar.active .sidebar-link:nth-child(4) { animation-delay: 0.4s; }

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

/* Prevent body scroll when sidebar is open */
body.sidebar-open {
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .sidebar {
        width: 100%;
        right: -100%;
    }
    
    .sidebar.active {
        right: 0;
    }
}

/* CSS Variables */
:root {
    /* Colors */
    --primary-bg: #0d0d0d;
    --secondary-bg: #191919;
    --accent-color: #fad3a6;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #cecece;
    --border-color: #474747;
    --form-bg: #edf0ff;
    --form-text: #322d4e;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-size-xs: 14px;
    --font-size-sm: 16px;
    --font-size-base: 18px;
    --font-size-lg: 20px;
    --font-size-xl: 24px;
    --font-size-2xl: 28px;
    --font-size-3xl: 32px;
    --font-size-4xl: 36px;
    --font-size-5xl: 40px;
    --font-size-6xl: 42px;
    --font-size-7xl: 48px;

    @media (max-width: 1400px) {
        --font-size-xs: 12px;
        --font-size-sm: 14px;
        --font-size-base: 16px;
        --font-size-lg: 18px;
        --font-size-xl: 22px;
    --font-size-5xl: 36px;
    --font-size-6xl: 40px;
    --font-size-7xl: 44px;
    --font-size-4xl: 30px;


    }


    @media (max-width: 1024px) {
        --font-size-4xl: 28px;
    --font-size-7xl: 38px;
    

    }

    @media (max-width: 768px) {
        --font-size-4xl: 24px;

    }

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 9px;
    --radius-xl: 12px;
    --radius-2xl: 20px;
    --radius-full: 24.5px;
    
    @media (max-width: 1400px) {
        --radius-2xl: 16px;
    }

    @media (max-width: 1024px) {
        --radius-2xl: 12px;
    }

    /* Container System */
    --container-max-width: 1280px;
    --container-padding-xs: 20px;
    --container-padding-sm: 40px;
    --container-padding-md: 60px;
    --container-padding-lg: 80px;
    --container-padding-xl: 120px;

    /* Breakpoints */
    --breakpoint-xs: 480px;
    --breakpoint-sm: 768px;
    --breakpoint-md: 1024px;
    --breakpoint-lg: 1200px;
    --breakpoint-xl: 1280px;
}

/* Container System */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--container-padding-md);
    padding-right: var(--container-padding-md);
    width: 100%;
    box-sizing: border-box;
}

/* Responsive Container Padding */
@media (max-width: 1280px) {
    .container {
        padding-left: var(--container-padding-lg);
        padding-right: var(--container-padding-lg);
    }
}

@media (max-width: 1200px) {
    .container {
        padding-left: var(--container-padding-md);
        padding-right: var(--container-padding-md);
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: var(--container-padding-sm);
        padding-right: var(--container-padding-sm);
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: var(--container-padding-xs);
        padding-right: var(--container-padding-xs);
    }
}

/* Header - Pixel Perfect from Figma */
:root {
  /* Alturas e padding exatos por breakpoint */
  --hdr-h-mobile: 80px;     /* altura total do header mobile */
  --hdr-h-tablet: 80px;     /* altura total do header tablet */
  --hdr-h-desktop: 80px;    /* altura total do header desktop */
  --hdr-pad-x-mobile: var(--container-padding-xs); /* padding horizontal mobile */
  --hdr-pad-x-tablet: var(--container-padding-md); /* padding horizontal tablet */
  --hdr-pad-x-desktop: var(--container-padding-xl);/* padding horizontal desktop */
  --hdr-gap: 40px;          /* gap entre nav items */

  /* Tipografia do nav - exata do Figma */
  --nav-family: 'Satoshi', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --nav-size: 18px;         /* tamanho exato do Figma */
  --nav-line: 24px;         /* line-height exato do Figma */
  --nav-weight: 400;        /* peso exato do Figma */
  --nav-track: 0em;         /* letter-spacing */

  /* Cores do estado TOP (transparente) */
  --hdr-fg-top: #FFFFFF;        /* texto branco sobre hero escuro */
  --nav-hover-top: #fad3a6;     /* hover com cor accent */
  --nav-active-top: #FFFFFF;

  /* Cores do estado SCROLLED (bg preto translúcido) */
  --hdr-bg-scrolled: rgba(0,0,0,0.64); /* fundo preto translúcido */
  --hdr-fg-scrolled: #FFFFFF;          /* contraste AA */
  --nav-hover-scrolled: #fad3a6;
  --hdr-border-scrolled: rgba(255,255,255,0.08); /* borda sutil */
  --hdr-blur: 8px;                     /* blur para glassmorphism */
  --hdr-shadow: 0 2px 12px rgba(0,0,0,0.18); /* sombra sutil */


  @media (max-width: 1400px) {
    --nav-size: 16px;   
  }
}

.highlight {
    color: var(--accent-color) !important;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  padding: 40px 0;
  color: var(--hdr-fg-top);
  background-color: transparent;
  transition: all 0.3s ease;
}

/* Estado scrolled do header */
.site-header.scrolled {
  background-color: var(--hdr-bg-scrolled);
  backdrop-filter: blur(var(--hdr-blur));
  -webkit-backdrop-filter: blur(var(--hdr-blur));
  border-bottom: 1px solid var(--hdr-border-scrolled);
  box-shadow: var(--hdr-shadow);
  padding: 20px 0; /* Reduz padding vertical de 40px para 20px */
}

/* Logo menor no estado scrolled */
.site-header.scrolled .header__logo img {
  width: 200px; /* Reduz de 242px para 200px */
  height: auto;

  @media (max-width: 1024px) {
    width: 180px;
  }

  @media (max-width: 768px) {
    width: 150px;
  }
}

.site-header .header__inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 3rem;
  align-items: center;
}

.header__logo img { 
  display: block; 
  width: 242px; 
  object-fit: contain;
  transition: width 0.3s ease; /* Transição suave para mudança de tamanho */

  @media (max-width: 1400px) {
    width: 200px;
  }

  @media (max-width: 1024px) {
    width: 180px;
  }

  @media (max-width: 768px) {
    width: 170px;
  }
} /* medidas exatas do Figma */

.header__nav {
  display: flex;
  gap: clamp(14px, 2.08vw, 40px); /* gap exato entre itens do Figma */
}

.header__nav a {
  font-family: var(--nav-family);
  font-weight: var(--nav-weight);
  font-size: var(--nav-size);
  line-height: var(--nav-line);
  letter-spacing: var(--nav-track);
  color: currentColor;
  text-decoration: none;
  padding: 10px 8px; /* garantir hit area ≥ 44px */
  transition: color 180ms ease;
}

.header__nav a:hover { 
  color: var(--nav-hover-top); 
}

.header__cta {
  background: #fad3a6; /* cor exata do Figma */
  color: #101010; /* cor exata do Figma */
  border: none;
  border-radius: 6px; /* radius exato do Figma */
  font-family: 'Satoshi', sans-serif;
  font-size: 15px; /* tamanho exato do Figma */
  line-height: 62px; /* line-height exato do Figma */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px; /* largura exata do Figma */
  transition: all 180ms ease;
  max-height: 49px;
  font-weight: 700;

  @media (max-width: 1400px) {
    width: 150px;
    font-size: 14px;
    line-height: 49px;
  }
}

.header__cta:hover {
  background: #e6c295;
  transform: translateY(-2px);
}


main { padding-top: var(--hdr-offset); }

/* Hero Section - Pixel Perfect from Figma */
:root {
    /* Hero Typography - Exact from Figma */
    --hero-h1-family: 'Satoshi', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --hero-h1-size: 48px;         /* exact from Figma desktop */
    --hero-h1-line: 62px;
    --hero-h1-weight: 400;
    --hero-h1-track: 0em;

    --hero-sub-family: 'Overused_Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --hero-sub-size: 18px;
    --hero-sub-line: 28px;
    --hero-sub-weight: 400;
    --hero-sub-track: 0em;

    /* Hero Colors - Exact from Figma */
    --hero-text: #ffffff;
    --hero-sub: #ffffff;
    --hero-cta: #101010;
    --hero-cta-bg: #fad3a6;
    --hero-highlight: #fad3a6;

    /* Hero Spacing/Radii/Shadows - Exact from Figma */
    --hero-gap: 32px;
    --hero-pad-y: 0px;
    --hero-pad-x: 0px;
    --hero-radius: 0px;
    --hero-shadow: 0 0 0 0 rgba(0,0,0,0);
    --hero-min-height: 100vh;
    --hero-content-max-width: 526px;
    --hero-subtitle-max-width: 462px;
    --hero-title-top: 245px;
    --hero-subtitle-top: 457px;
    --hero-button-top: 586px;
    --hero-content-left: 316px;

    @media (max-width: 1400px) {
        --hero-h1-size: 40px;
        --hero-h1-line: 52px;
        --hero-gap: 24px;
        --hero-min-height: 80vh;
        --hero-content-max-width: 480px;
        --hero-sub-size: 16px;
    }

    @media (max-width: 1024px) {
        --hero-h1-size: 36px;
        --hero-h1-line: 48px;
        --hero-gap: 20px;
        --hero-content-max-width: 480px;
    }

    @media (max-width: 768px) {
        --hero-h1-size: 32px;
        --hero-h1-line: 42px;
        --hero-gap: 20px;
        --hero-content-max-width: 480px;
    }
}

#hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--hero-pad-y) var(--hero-pad-x);
    color: var(--hero-text);
    overflow: hidden;
    border-radius: var(--hero-radius);
    box-shadow: var(--hero-shadow);
    min-height: var(--hero-min-height);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url("assets/hero/hero-bg@2x.png");
    background-image: -webkit-image-set(
        url("assets/hero/hero-bg@1x.png") 1x,
        url("assets/hero/hero-bg@1.5x.png") 1.5x,
        url("assets/hero/hero-bg@2x.png") 2x,
        url("assets/hero/hero-bg@3x.png") 3x
    );
    background-image: image-set(
        url("assets/hero/hero-bg@1x.png") 1x,
        url("assets/hero/hero-bg@1.5x.png") 1.5x,
        url("assets/hero/hero-bg@2x.png") 2x,
        url("assets/hero/hero-bg@3x.png") 3x
    );
    image-rendering: auto;
}

/* Gradient overlay from Figma - exact values */
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0d0d0d, rgba(17, 17, 17, 0));
    z-index: 1;
}

.hero__content {
    z-index: 2;
    text-align: left;
    padding-top: 22vh;
    padding-bottom: 40px;

    > .container {
        display: flex;
        flex-direction: column;
        gap: clamp(40px, 2.60vw, 50px);
    }

    @media (max-width: 1400px) {
        padding-top: 20vh;
    }



    @media (max-width: 768px) {
        padding-top: 18vh;
    }
}

#hero .hero__title {
    font-family: var(--hero-h1-family);
    font-weight: var(--hero-h1-weight);
    font-size: var(--hero-h1-size);
    line-height: var(--hero-h1-line);
    letter-spacing: var(--hero-h1-track);
    margin: 0;
    max-width: 526px;
    color: var(--hero-text);
}

.hero__highlight {
    color: var(--hero-highlight);
}

.hero__subtitle {
    font-family: var(--hero-sub-family);
    font-size: var(--hero-sub-size);
    line-height: var(--hero-sub-line);
    letter-spacing: var(--hero-sub-track);
    color: var(--hero-sub);
    margin: 0;
    max-width: 462px;
}

.hero__ctas {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--primary {
    background: var(--hero-cta-bg);
    color: var(--hero-cta);
    padding: 0;
    border-radius: 9px;
    font-family: 'Satoshi', sans-serif;
    font-size: var(--font-size-base);
    font-weight: 700;
    line-height: normal;
    width: 433px;
    height: 59px;
    display: flex;
    align-items: center;
    justify-content: center;

    @media (max-width: 1400px) {
        max-width: 100%;
        max-height: 65px;
    }

    @media (max-width: 1024px) {
        max-height: 55px;
        border-radius: 6px;
    }

    @media (max-width: 768px) {
        max-height: 48px;
    }
}

.btn--primary:hover {
    background: #e6c295;
    transform: translateY(-2px);
}



/* Features Section - BrandsLoop */
.features {
    background: rgba(0, 0, 0, 0.78);
    padding: 35px 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-top: auto;
    flex-shrink: 0;

    > .container {
        max-width: 1400px;
    }

    @media (max-width: 1400px) {
        padding: 20px 0;
    }

    @media (max-width: 768px) {
        padding: 15px 0;
    }
}

.features-loop {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.features-track {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4.17vw, 80px);
    width: calc(fit-content * 8); /* 8 items * width per item */
    height: 100%;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

/* Responsive adjustments for features */
@media (max-width: 1200px) {
    .features-track {
        gap: 60px;
    }
    
    .feature-item {
        min-width: 320px;
        max-width: 350px;
    }
    
    .feature-item p {
        font-size: 15px;
    }
}

@media (max-width: 1100px) {
    .features-track {
        gap: 50px;
    }
    
    .feature-item {
        min-width: 300px;
        max-width: 320px;
    }
}

@media (max-width: 1000px) {
    .features-track {
        gap: 40px;
    }
    
    .feature-item {
        min-width: 280px;
        max-width: 300px;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .feature-item {
        gap: 10px;
    }
}

@media (max-width: 1000px) {
    .feature-item {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .feature-item {
        gap: 6px;
    }
}

.feature-icon {
    width: 37px;
    height: 37px;
    background: #fad3a6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}

@media (max-width: 1200px) {
    .feature-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
}

@media (max-width: 1000px) {
    .feature-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    .feature-icon {
        width: 28px;
        height: 28px;
    }
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-item p {
    font-family: 'Overpass', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .feature-item p {
        font-size: 15px;
        line-height: 19px;
        white-space: normal;
        max-width: 250px;
    }
}

@media (max-width: 1000px) {
    .feature-item p {
        font-size: 14px;
        line-height: 18px;
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    .feature-item p {
        font-size: 13px;
        line-height: 17px;
    }
}

/* Loop infinito animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-324px * 4)); /* Move by 4 items width */
    }
}

/* Pause animation on hover */
.features-loop:hover .features-track {
    animation-play-state: paused;
}

/* About Section */
.about {
    padding: clamp(60px, 5.99vw, 115px) 0;
}

.about .container {
    display: block;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 74px;
    align-items: center;

    @media (max-width: 1400px) {
        gap: 60px;
    }

    @media (max-width: 1024px) {
        gap: 50px;
    }

    @media (max-width: 768px) {
        gap: 40px;
    }
}

.about-title {
    font-size: var(--font-size-5xl);
    font-weight: 400;
    line-height: 52px;
    margin-bottom: 50px;
    color: var(--text-primary);

    @media (max-width: 1400px) {
    line-height: 48px;
    margin-bottom: 40px;
    }

    @media (max-width: 1024px) {
        line-height: 44px;
    }
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;

    @media (max-width: 1400px) {
        gap: 15px;
    }

    @media (max-width: 1024px) {
        gap: 10px;
    }
}

.about-feature {
    padding-bottom: 20px;
    border-bottom: 1px solid #707070;

    @media (max-width: 1400px) {
        padding-bottom: 15px;
    }

    @media (max-width: 1024px) {
        padding-bottom: 10px;
    }
}

.about-feature:last-child {
    border-bottom: none;
}

.about-feature h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 7px;
}

.about-feature p {
    font-size: var(--font-size-base);
    line-height: 28px;
    color: var(--text-primary);
}


.about-img {
    display: flex;
    width: 100%;
    max-width: 630px;
    height: 100%;
    max-height: 574px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
}

/* Partners Section - Carousel Infinito */
.partners {
    padding: clamp(40px, 4.17vw, 80px) 0;
    overflow: hidden;
    position: relative;
}

.partners-loop {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 35px;
    width: calc(fit-content * 12); /* 12 items (6 originais + 6 duplicados) */
    height: 100%;
    animation: scrollPartners 40s linear infinite;
    white-space: nowrap;
}

.partner-logo {
    height: 130px;
    width: 195px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Animação do carousel de partners */
@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 6)); /* Move by 6 items width (120px + 60px gap) */
    }
}

/* Pause animation on hover */
.partners-loop:hover .partners-track {
    animation-play-state: paused;
}

/* Solutions Section */

.solutions {
    padding-top: clamp(40px, 4.17vw, 80px);
}

.solutions .logo {
    display: flex;
    width: 188;
    height: 41px;
    object-fit: contain;
    margin: 0 auto 20px;

    @media (max-width: 1400px) {
        width: 160px;
        height: 36px;
    margin: 0 auto 15px;

    }

    @media (max-width: 1024px) {
        width: 140px;   
        height: 32px;
        margin: 0 auto 10px;
    }
    
}

.section-title {
    font-size: var(--font-size-5xl);
    font-weight: 400;
    line-height: 52px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary);

    @media (max-width: 1400px) {
        line-height: 48px;
        margin-bottom: 15px;
    }

    @media (max-width: 1024px) {
        line-height: 44px;
        margin-bottom: 10px;
    }
}

.section-subtitle {
    font-size: var(--font-size-base);
    line-height: 28px;
    text-align: center;
    margin-bottom:34px;
    color: var(--text-primary);
    margin-left: auto;
    margin-right: auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    @media (max-width: 1400px) {
        gap: 15px;
    }

    @media (max-width: 768px) {
        gap: 10px;
    }
}

.solution-card {
    background: linear-gradient(to bottom, #1a1a1a, #161616);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 35px 40px;

    @media (max-width: 1400px) {
        padding: 30px 35px;

    }

    @media (max-width: 1024px) {
        padding: 25px 30px;
    }
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.solution-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 20px;

    @media (max-width: 1400px) {
        width: 30px;
        height: 30px;
        margin-bottom: 15px;
    }

    @media (max-width: 1024px) {
        width: 28px;
        height: 28px;
        margin-bottom: 10px;
    }
}

.solution-icon img {
    width: 100%;
    height: 100%;
}

.solution-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 7px;
}

.solution-card p {
    font-size: var(--font-size-base);
    line-height: 28px;
    color: var(--text-primary);
}

/* Benefits Section */
.benefits {
    padding: clamp(80px, 6.25vw, 120px) 0;

    @media (max-width: 1400px) {
        padding-bottom: 30px;
    }

    @media (max-width: 1024px) {
        padding-bottom: 10px;
    }
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;

    @media (max-width: 1400px) {
        gap: 60px;
    }

    @media (max-width: 1024px) {
        gap: 50px;
    }

    @media (max-width: 768px) {
        gap: 40px;
    }

    @media (max-width: 480px) {
        gap: 30px;
    }
}

.benefits-title {
    font-size: var(--font-size-5xl);
    font-weight: 400;
    line-height: 52px;
    margin-bottom: 40px;
    color: var(--text-primary);

    @media (max-width: 1400px) {
        line-height: 48px;
        margin-bottom: 30px;
    }

    @media (max-width: 1024px) {
        line-height: 44px;
        margin-bottom: 20px;
    }

    @media (max-width: 768px) {
        line-height: 40px;
        margin-bottom: 10px;
    }
}

.benefits-list {
    height: auto;
    margin: auto 0;
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-lg);
    line-height: 45px;
    color: var(--text-secondary);
}

.benefits-cta {
    background: var(--accent-color);
    color: #101010;
    border: none;
    padding: 18px 36px;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.benefits-cta:hover {
    background: #e6c295;
    transform: translateY(-2px);
}

.benefits-img {
    width: 100%;
    height: 483px;
    object-fit: cover;
    border-radius: var(--radius-2xl);

    @media (max-width: 1400px) {
        height: 440px;
    }

    @media (max-width: 1024px) {
        height: 400px;
    }

    @media (max-width: 768px) {
        height: 360px;
    }

 
}

/* CTA Section */
.cta-section {
    position: relative;
    height: 505px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url("assets/mask-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;

    @media (max-width: 1400px) {
        height: 460px;
    }

    @media (max-width: 1024px) {
        height: 420px;
    }

    @media (max-width: 768px) {
        height: 380px;
    }

    button {
        display: block;
        margin: 0 auto;
    }

    h2 {
        font-weight: 400 !important;
    }

    strong {
        display: block;
        width: max-content;
        margin: 0 auto;
        font-weight: 600 !important;
    }

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, #0d0d0d, rgba(17, 17, 17, 0));
        z-index: 1; /* Position below the content */
      }
}




.cta-title {
    font-size: var(--font-size-7xl);
    font-weight: 400;
    line-height: 72px;
    text-align: center;
    color: var(--text-primary);
    max-width: 707px;
    margin: 0 auto;
    margin-bottom: 67px;

    @media (max-width: 1400px) {
        line-height: 68px;
        margin-bottom: 50px;
        font-size: var(--font-size-6xl);
    }

    @media (max-width: 1024px) {
        line-height: 64px;
        margin-bottom: 40px;
        font-size: var(--font-size-5xl);
    }

    @media (max-width: 768px) {
        line-height: 34px;
        margin-bottom: 30px;
    }
}



.cta-title strong {
    font-weight: 500;
}



/* Platform Section */
.platform {
    padding: clamp(90px, 6.25vw, 120px) 0;

  
   
}

.platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;

    @media (max-width: 1200px) {
        gap: 60px;
    }

    @media (max-width: 1200px) {
        gap: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;

        svg {
            max-width: 400px;
        }
    }

    @media (max-width: 768px) {
        svg {
            max-width: 300px;
        }
    }

}



.platform-title {
    font-size: var(--font-size-5xl);
    font-weight: 400;
    line-height: 52px;
    margin-bottom: 20px;
    color: var(--text-primary);


    @media (max-width: 1400px) {
        line-height: 48px;
        margin-bottom: 15px;
    }

    @media (max-width: 1200px) {
        line-height: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

.platform-subtitle {
    font-size: var(--font-size-base);
    line-height: 28px;
    margin-bottom: 40px;
    color: var(--text-primary);
    max-width: 466px;

    @media (max-width: 1400px) {
        line-height: 24px;
        margin-bottom: 30px;
    }

    @media (max-width: 1200px) {
        max-width: 100%;
        line-height: 20px;
    }
}

.platform-cta {
    background: var(--accent-color);
    color: #101010;
    border: none;
    padding: 18px 36px;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 433px;

    @media (max-width: 1200px) {
        width: 100%;
        margin: 0 auto;
        border-radius: 6px;
    }
}

.platform-cta:hover {
    background: #e6c295;
    transform: translateY(-2px);
}

.platform-img {
    width: 100%;
    height: 581px;
    object-fit: contain;
}

/* Form Section */
.form-section {
    padding-bottom: 80px ;
}

.form-content {
    display: flex;
    gap: 80px;
    align-items: start;

    @media (max-width: 1200px) {
        gap: 40px;
    }

    @media (max-width: 1024px) {
        flex-direction: column;
    }
}

.form-title {
    font-size: var(--font-size-6xl);
    font-weight: 400;
    line-height: normal;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.form-subtitle {
    font-size: var(--font-size-base);
    line-height: 32px;
    margin-bottom: 40px;
    color: var(--text-primary);
    max-width: 487px;

    @media (max-width: 1400px) {
        line-height: 28px;
        margin-bottom: 30px;
    }

    @media (max-width: 1200px) {
        line-height: 24px;
        margin-bottom: 20px;
    }

    @media (max-width: 768px) {
        margin-bottom: 0px;
    }
}

.contact-info {
    margin-top: 60px;


    a {
        text-decoration: none;
    }
}

.contact-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;

    @media (max-width: 768px) {
        align-items: start !important;
        gap: 10px;
    }
}

.contact-btn {
    background: rgba(217, 217, 217, 0);
    border: 1px solid #575757;
    color: var(--text-primary);
    padding: 20px 24px;
    border-radius: var(--radius-xl);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
    width: 100% !important;
    max-width: 305px;
    max-height: 75px;

    @media (max-width: 1400px) {
        max-width: 250px;
        max-height: 65px;
        border-radius: var(--radius-lg);
    }

    @media (max-width: 1200px) {
        max-width: 200px;
        max-height: 55px;
        border-radius: var(--radius-md);
    }

   
}

.contact-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.contact-btn img {
    width: 27px;
    height: 27px;

    @media (max-width: 1400px) {
        width: 24px;
        height: 24px;
    }

    @media (max-width: 1200px) {
        width: 20px;
        height: 20px;
    }

    @media (max-width: 768px) {
        width: 18px;
        height: 18px;
    }
}

.form-container {
    background: linear-gradient(to bottom, #1a1a1a, #161616);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 48px;
    width: 100%;
    max-width: 630px;

    @media (max-width: 1400px) {
        padding: 40px;
        max-width: 500px;
        margin: auto 0 0 auto;
    }

    @media (max-width: 1200px) {
        padding: 30px;

        margin: auto auto 0 0;

    }
    
  
}

.form-header {
    font-size: var(--font-size-4xl);
    font-weight: 400;
    line-height: normal;
    text-align: center;
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* Form Tabs */
.form-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.form-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 15px 20px;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;


    @media (max-width: 1400px) {
        font-size: var(--font-size-sm);
    }

    @media (max-width: 1200px) {
        font-size: var(--font-size-xs);
    }
}

.form-tab.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.form-tab:hover {
    color: var(--text-primary);
}

/* Form Visibility */
.contact-form {
    display: none;

}

.contact-form.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group input {
    width: 100%;
    background: var(--form-bg);
    border: 1px solid rgba(50, 45, 78, 0.45);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-size: var(--font-size-base);
    color: var(--form-text);
    font-family: inherit;

    @media (max-width: 1400px) {
        font-size: var(--font-size-sm);
        border-radius: 6px;
        padding: 14px 18px;
    }

    @media (max-width: 1200px) {
    }
}

.form-group input::placeholder {
    color: var(--form-text);
}

.submit-btn {
    background: var(--accent-color);
    color: #101010;
    border: none;
    padding: 22px 36px;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.3s ease;

    @media (max-width: 1400px) {
        padding: 20px 30px;
        border-radius: 6px;
    }
    
}

.submit-btn:hover {
    background: #e6c295;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--secondary-bg);
    padding: clamp(40px, 4.17vw, 80px) 0 clamp(20px, 2.08vw, 40px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: clamp(20px, 2.08vw, 40px);
    align-items: flex-start;
}

@media (max-width: 1200px) {
    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: center;
        text-align: center;

    }
}

@media (max-width: 768px) {
    .footer-content {
        gap: 30px;
    }
}

.footer-logo {
    display: flex;
    width: 100%;
    max-width: 388px;
    height: 85px;
    cursor: pointer;


}

.footer-logo-img {
    width: 100%;
    max-width: 388px;
    height: 85px;
    object-fit: contain;
}


@media (max-width: 1400px) {
    .footer-logo {
        max-width: 300px;
    }
    
    .footer-logo-img {
        max-width:260px;
    }
}

@media (max-width: 1200px) {
    .footer-logo {
        max-width: 240px;
        height: 70px;
    }
    
    .footer-logo-img {
        max-width: 240px;
        height: 70px;
    }
}

@media (max-width: 1024px) {
    .footer-logo {
        max-width: 220px;
        height: 60px;
        justify-content: center;
        margin: 0 auto;

    }
    
    .footer-logo-img {
        max-width: 220px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .footer-logo {
        max-width: 200px;
        height: 55px;
    }
    
    .footer-logo-img {
        max-width: 200px;
        height: 55px;
    }
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
}

@media (max-width: 1200px) {
    .footer-links h4,
    .footer-contact h4,
    .footer-social h4 {
        font-size: var(--font-size-base);
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .footer-links h4,
    .footer-contact h4,
    .footer-social h4 {
        font-size: var(--font-size-sm);
        margin-bottom: 12px;
    }
}
.footer-contact {
    .footer-contact-title {
        margin-top: 20px;
    }

    a {
        color: var(--text-primary);
        text-decoration: none;
        font-size: var(--font-size-lg);
        font-weight: 500;
        transition: color 0.3s ease;
    }
    a:hover {
        color: var(--accent-color);
    }
}

@media (max-width: 1200px) {
    .footer-contact {
        .footer-contact-title {
            margin-top: 15px;
        }
        
        a {
            font-size: var(--font-size-base);
        }
    }
}

@media (max-width: 768px) {
    .footer-contact {
        .footer-contact-title {
            margin-top: 12px;
        }
        
        a {
            font-size: var(--font-size-sm);
        }
    }
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

@media (max-width: 1200px) {
    .footer-links li {
        margin-bottom: 6px;
    }
    
    .footer-links a {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 768px) {
    .footer-links li {
        margin-bottom: 5px;
    }
    
    .footer-links a {
        font-size: var(--font-size-sm);
    }
}

.footer-contact p {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

@media (max-width: 1200px) {
    .footer-contact p {
        font-size: var(--font-size-base);
        margin-bottom: 6px;
    }
}

@media (max-width: 768px) {
    .footer-contact p {
        font-size: var(--font-size-sm);
        margin-bottom: 5px;
    }
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links img {
    width: 100%;
    height: 100%;
}

@media (max-width: 1200px) {
    .social-links {
        gap: 12px;
    }
    
    .social-links a {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 1024px) {
    .social-links {
        gap: 10px;
        justify-content: center;
    }
    
    .social-links a {
        width: 26px;
        height: 26px;
    }
}

/* Responsive Design - Updated for new container system */
@media (max-width: 1280px) {
    :root {
        --font-size-7xl: 40px;
        --font-size-6xl: 36px;
        --font-size-5xl: 32px;
    }
}

@media (max-width: 1200px) {
    :root {
        --font-size-7xl: 38px;
        --font-size-6xl: 34px;
        --font-size-5xl: 30px;
    }

    .hero-title {
        line-height: 48px;
    }

    .about-content,
    .benefits-content,
    .platform-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .features-track {
        gap: 60px;
        width: calc(280px * 8); /* Adjusted for tablet */
    }

    .feature-item {
        width: 280px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-280px * 4));
        }
    }

    .partners-track {
        gap: 40px;
    }
    
    @keyframes scrollPartners {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-130px * 6)); /* Adjusted for tablet */
        }
    }

}

@media (max-width: 768px) {
    :root {
        --font-size-7xl: 32px;
        --font-size-6xl: 28px;
        --font-size-5xl: 24px;
    }

    .hero {
        min-height: 65vh;
        padding-top: 120px;
    }

    .hero-title {
        line-height: 40px;
    }

    .features-track {
        gap: 40px;
        width: calc(240px * 8); /* Adjusted for mobile */
    }

    .feature-item {
        width: 240px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-240px * 4));
        }
    }

    .partners-track {
        gap: 30px;
    }
    
    .partner-logo {
        height: 50px;
        width: 75px;
    }
    
    @keyframes scrollPartners {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-105px * 6)); /* Adjusted for mobile */
        }
    }

    .contact-buttons {
        align-items: center;
    }

    .contact-btn {
        width: 100%;
        max-width: 305px;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-7xl: 28px;
        --font-size-6xl: 24px;
        --font-size-5xl: 20px;
    }

    .hero-title {
        line-height: 36px;
    }

    .partners-logos {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 24px;
    }
}

/* Utility Classes */
.container--fluid {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.container--narrow {
    max-width: 1200px;
}

.container--wide {
    max-width: 1600px;
}

.container--hero {
    max-width: none;
    padding: 0;
}

/* Ensure all sections use container properly */
section .container {
    position: relative;
    z-index: 1;
}

/* Fade-in Animation Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for staggered animations */
.fade-in-section.delay-1 {
    transition-delay: 0.1s;
}

.fade-in-section.delay-2 {
    transition-delay: 0.2s;
}

.fade-in-section.delay-3 {
    transition-delay: 0.3s;
}

.fade-in-section.delay-4 {
    transition-delay: 0.4s;
}

/* Modern Solution Cards Animation */
.solution-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.solution-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered animation delays for solution cards */
.solution-card:nth-child(1) { transition-delay: 0.1s; }
.solution-card:nth-child(2) { transition-delay: 0.2s; }
.solution-card:nth-child(3) { transition-delay: 0.3s; }
.solution-card:nth-child(4) { transition-delay: 0.4s; }

/* SVG Platform Animation */

.platform-image {
    width: 100%;
    max-width: 581px;
}

.platform-image svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center;
}

/* Central elements stay static */
.central-elements {
    transform-origin: center;
}

/* Outer circle animations - smooth back and forth rotation */
.outer-circle-1 {
    transform-origin: center;
    animation: rotateCircle1 8s ease-in-out infinite;
}

.outer-circle-2 {
    transform-origin: center;
    animation: rotateCircle2 12s ease-in-out infinite reverse;
}

.outer-circle-3 {
    transform-origin: center;
    animation: rotateCircle3 16s ease-in-out infinite;
}

/* Keyframes for smooth back and forth rotation */
@keyframes rotateCircle1 {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateCircle2 {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-90deg); }
    50% { transform: rotate(-180deg); }
    75% { transform: rotate(-270deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes rotateCircle3 {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(72deg); }
    40% { transform: rotate(144deg); }
    60% { transform: rotate(216deg); }
    80% { transform: rotate(288deg); }
    100% { transform: rotate(360deg); }
}

/* Legal Pages Styles */
.legal-page {
    min-height: 100vh;
    padding: 120px 0 80px;
    background-color: #0D0D0D;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(250, 211, 166, 0.2);
}

.legal-header h1 {
    font-family: 'Satoshi', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fad3a6, #e6c295);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-subtitle {
    font-size: 1.1rem;
    color: #b0b0b0;
    font-weight: 400;
}

.legal-nav {
    margin-bottom: 40px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #fad3a6;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border: 1px solid rgba(250, 211, 166, 0.3);
    border-radius: 8px;
    background: rgba(250, 211, 166, 0.05);
}

.back-link:hover {
    color: #ffffff;
    background: rgba(250, 211, 166, 0.1);
    border-color: rgba(250, 211, 166, 0.5);
    transform: translateX(-4px);
}

.legal-article {
    line-height: 1.8;
}

.legal-article section {
    margin-bottom: 40px;
}

.legal-article h2 {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fad3a6;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(250, 211, 166, 0.2);
}

.legal-article h3 {
    font-family: 'Satoshi', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #e6c295;
    margin: 24px 0 16px;
}

.legal-article p {
    color: #e0e0e0;
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.7;
}

.legal-article ul {
    margin: 16px 0 24px 20px;
    color: #e0e0e0;
}

.legal-article li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 8px;
}

.legal-article li::marker {
    color: #fad3a6;
}

.legal-article strong {
    color: #fad3a6;
    font-weight: 600;
}

.legal-article address {
    font-style: normal;
    background: rgba(250, 211, 166, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #fad3a6;
    margin: 20px 0;
}

.legal-article address p {
    margin-bottom: 8px;
}

.legal-article a {
    color: #fad3a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-article a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        padding: 0 16px;
    }
    
    .legal-header h1 {
        font-size: 2.2rem;
    }
    
    .legal-article h2 {
        font-size: 1.5rem;
    }
    
    .legal-article h3 {
        font-size: 1.2rem;
    }
    
    .back-link {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-article h2 {
        font-size: 1.3rem;
    }
    
    .legal-article ul {
        margin-left: 16px;
    }
    
    .legal-article address {
        padding: 16px;
    }
}

/* Print Styles for Legal Pages */
@media print {
    .legal-page {
        background: white;
        color: black;
        padding: 20px 0;
    }
    
    .site-header,
    .footer,
    .legal-nav {
        display: none;
    }
    
    .legal-header h1,
    .legal-article h2,
    .legal-article h3,
    .legal-article strong,
    .legal-article a {
        color: black;
    }
    
    .legal-article {
        max-width: none;
    }
    
    .legal-content {
        max-width: none;
        padding: 0;
    }
}

