/* NorthFi Design System - Professional Financial Services Theme */

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

:root {
    /* Core Brand Colors */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(210, 24%, 16%);

    /* Card & Surface Colors */
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(210, 24%, 16%);

    /* Brand Primary - Professional Blue */
    --primary: hsl(217, 91%, 24%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-hover: hsl(217, 91%, 20%);

    /* Brand Secondary - Accent Gold */
    --secondary: hsl(48, 100%, 67%);
    --secondary-foreground: hsl(210, 24%, 16%);
    --secondary-hover: hsl(48, 100%, 60%);

    /* Neutral Tones */
    --muted: hsl(210, 16%, 96%);
    --muted-foreground: hsl(210, 16%, 46%);

    --accent: hsl(210, 16%, 96%);
    --accent-foreground: hsl(210, 24%, 16%);

    /* Financial Success Green */
    --success: hsl(142, 76%, 36%);
    --success-foreground: hsl(0, 0%, 100%);

    /* Border and Input */
    --border: hsl(214, 32%, 91%);
    --input: hsl(214, 32%, 91%);

    /* Professional Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(217, 91%, 24%), hsl(217, 91%, 32%));
    --gradient-secondary: linear-gradient(135deg, hsl(48, 100%, 67%), hsl(48, 100%, 74%));
    --gradient-hero: linear-gradient(135deg, hsl(217, 91%, 24%), hsl(217, 91%, 32%), hsl(48, 100%, 67%));

    /* Elegant Shadows */
    --shadow-sm: 0 1px 2px 0 hsl(210, 24%, 16%, 0.05);
    --shadow-md: 0 4px 6px -1px hsl(210, 24%, 16%, 0.10), 0 2px 4px -1px hsl(210, 24%, 16%, 0.06);
    --shadow-lg: 0 10px 15px -3px hsl(210, 24%, 16%, 0.10), 0 4px 6px -2px hsl(210, 24%, 16%, 0.05);
    --shadow-premium: 0 20px 25px -5px hsl(217, 91%, 24%, 0.15), 0 10px 10px -5px hsl(217, 91%, 24%, 0.04);

    /* Smooth Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Spacing */
    --container-max-width: 1200px;
    --container-padding: 1rem;
}

/* Base Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-size: 16px;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Animations */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-10px) rotate(1deg); 
    }
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 1; 
    }
    50% { 
        opacity: 0.7; 
    }
}

@keyframes slide-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.animate-slide-left {
  animation: slide-left 20s linear infinite;
}

/* Crypto Ticker */
.crypto-ticker {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.5rem 0;
    overflow: hidden;
    position: relative;
    z-index: 40;
}

.ticker-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.ticker-label {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.ticker-scroll {
    overflow: hidden;
    flex: 1;
    /*max-width: 800px;*/
}

.ticker-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  width: max-content; /* garante que todo conteúdo duplicado fique em linha */
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.ticker-symbol {
    font-weight: 700;
}

.ticker-price {
    color: var(--secondary);
}

.ticker-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
}

.ticker-change.positive {
    color: #4ade80;
}

.ticker-change.negative {
    color: #f87171;
}

/* Header */
.header {
   /* position: fixed;
    top: 3rem;*/
    left: 0;
    right: 0;
    z-index: 40;
    background: hsla(0, 0%, 100%, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 0.875rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary);
}

.cta-desktop {
    display: none;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 1.5rem;
    height: 2px;
    background: var(--foreground);
    transition: var(--transition-smooth);
}

.mobile-menu-btn.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-mobile {
    display: none;
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    flex-direction: column;
    gap: 1rem;
}

.nav-mobile.active {
    display: flex;
}

.nav-link-mobile {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
}

.nav-link-mobile:hover {
    color: var(--primary);
}

.cta-mobile {
   /* display: flex;*/
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--background);
   /* padding: 5rem 0;*/
}

.hero-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsla(210, 16%, 96%, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    width: fit-content;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    max-width: 32rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-value.success {
    color: var(--success);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Hero Cards */
.hero-right {
    display: flex;
    justify-content: center;
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 400px;
}

.hero-card {
    background: hsla(0, 0%, 100%, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.hero-card:hover {
    box-shadow: var(--shadow-premium);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon.success {
    background: hsla(142, 76%, 36%, 0.1);
    color: var(--success);
}

.card-icon.primary {
    background: hsla(217, 91%, 24%, 0.1);
    color: var(--primary);
}

.card-icon.secondary {
    background: hsla(48, 100%, 67%, 0.1);
    color: var(--secondary-foreground);
}

.card-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.card-info p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.card-value {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-value.success {
    color: var(--success);
}

.card-value.primary {
    color: var(--primary);
}

.card-value.secondary {
    color: var(--secondary-foreground);
}

.card-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsla(217, 91%, 24%, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: hsla(210, 16%, 96%, 0.3);
}

.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: hsla(217, 91%, 24%, 0.1);
    color: var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-stats {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.125rem;
}

/* Performance Section */
.performance {
    padding: 5rem 0;
    background: var(--background);
}

.performance-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.performance-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.performance-card:hover {
    box-shadow: var(--shadow-lg);
}

.performance-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.performance-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 0.5rem;
}

.performance-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Security Section */
.security {
    padding: 5rem 0;
    background: hsla(210, 16%, 96%, 0.3);
}

.security-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.security-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.security-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.security-icon {
    width: 4rem;
    height: 4rem;
    background: hsla(217, 91%, 24%, 0.1);
    color: var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.security-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.security-item p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: var(--background);
}

.faq-list {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: var(--transition-smooth);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--foreground);
    color: var(--background);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
}

.footer-brand .logo-text {
    color: var(--background);
}

.footer-brand p {
    margin-top: 1rem;
    color: hsla(0, 0%, 100%, 0.7);
}

.footer-links {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: hsla(0, 0%, 100%, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.footer-column a:hover {
    color: var(--background);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.7);
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: hsla(0, 0%, 100%, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal a:hover {
    color: var(--background);
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }

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

    .performance-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .security-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }


}






    @media (max-width: 640px) {

      .ticker-label {

        display: none;

    }



}


@media (max-width: 941px) {

    
     .hero-cards {

       /* grid-template-columns: repeat(2, 1fr);
        display: grid;*/
        max-width: 100%;
    }


}


    @media (min-width: 941px) {

   

    .nav-desktop {
        display: flex;
    }

    .cta-desktop {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

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

    .section-title {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

