body {
  font-family: "Roboto", sans-serif;
  background: #f3f4f5;
}

.btn {
  border-radius: 4px;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-link {
  color: #333 !important;
  font-size: 1rem;
  font-weight: 400;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #666 !important;
}

.btn-dark {
  background-color: #1a1a1a;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.btn-dark:hover {
  background-color: #333;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }
  
  .d-flex.align-items-center {
    margin-top: 1rem;
  }
}

.hero-content {
  background: #f3f4f5;
}

div {
}

@media (min-width: 768px) {
  .hero-content {
    background: transparent;
    height: 500px;
  }
}

@media (min-width: 1200px) {
  .hero-content {
    height: 600px;
  }
}

.card .btn {
  padding-left: 16px;
  margin-left: -16px;
  background: transparent;
  border-style: none;
  border-bottom-style: none;
  border-radius: 20px;
}

.card:hover .card-img {
  transform: scale(1.10);
}

.card {
  overflow: hidden;
  border-radius: 8px;
  max-width: 1000px;
  margin: 2rem auto;
}

.card .card-img {
  transition: all ease 0.3s;
  border-radius: 8px;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .card-content-half {
    width: 50%;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}

.card:hover .btn {
  background: var(--bs-blue);
  color: var(--bs-card-bg);
}

.btn-notWhite {
  color: var(--bs-btn-bg);
}

.pricing-card .btn {
  padding-left: 0px;
}

.video-section {
    background-color: #f4f4f4;
    padding: 2rem 0;
    text-align: center;
}

.video-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
    background-color: #F3F4F5;
    border-radius: 4px;
}

video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-text {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    padding: 1rem;
}

.video-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.video-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.btn {
    background-color: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}

.btn:hover {
    background-color: #333;
}

.styled-iframe {
  width: 100%; /* Faz o iframe ocupar 100% da largura do contêiner pai */
  max-width: 700px; /* Define a largura máxima */
  height: 800px; /* Define a altura */
  border: none; /* Remove a borda padrão */
  border-radius: 4px; /* Bordas arredondadas para combinar com o estilo do site */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adiciona uma sombra para dar um efeito de profundidade */
  margin: 0 auto; /* Centraliza o iframe */
  display: block; /* Garante que o iframe seja tratado como um bloco */
}
.roboto-thin {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.roboto-light {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.roboto-light-logo {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 24px;
}

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-regular-logo {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
}

.roboto-medium {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.roboto-black {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: 44px;
}
.roboto-black-logo {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: 24px;
}

/* Roboto Serif Black Logo */
.roboto-serif-logo {
  font-family: "Roboto Serif", serif;
  font-weight: 600;
  font-style: italic;
  font-size: 190px;
  letter-spacing: -0.02em;
  line-height: normal;
  color: black;
}

/* Roboto Serif Black Logo Thin */
.roboto-serif-logo-thin {
  font-family: "Roboto Serif", serif;
  font-weight: 100;
  font-style: italic;
  font-size: 190px;
  letter-spacing: -0.02em;
  line-height: normal;
  color: black;
}

/* Footer logo color override */
.footer .roboto-serif-logo,
.footer .roboto-serif-logo-thin {
  color: var(--white);
}

.roboto-thin-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.roboto-light-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 24px; /* Increase the font size */
}

.roboto-regular-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 24px; /* Increase the font size */
}

.roboto-medium-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.roboto-bold-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.roboto-black-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 24px; /* Increase the font size */
}
.video-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.responsive-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 4px; /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: add a subtle shadow */
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px; /* Rounded corners inside iframe */
}

.email-input-container {
    position: relative;
    max-width: 400px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.email-input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    transition: all 0.2s ease;
    min-height: 45px;
    resize: none;
    line-height: 1.4;
}

.email-input:focus {
    outline: none;
    border-color: #4131F6;
    box-shadow: 0 0 0 1px rgba(65, 49, 246, 0.1);
}

.send-button {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-button img {
    width: 20px;
    height: 20px;
    transition: all 0.2s ease;
}

.send-button:hover img {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .send-button {
        padding: 8px;
    }
    
    .send-button img {
        width: 24px; /* Larger size for desktop */
        height: 24px;
    }
}

@media (max-width: 576px) {
    .send-button {
        padding: 4px;
    }
    
    .send-button img {
        width: 18px; /* Smaller size for mobile */
        height: 18px;
    }
    
    .email-input {
        padding-right: 35px; /* Adjust input padding for smaller button */
    }
}

/* Adjust input container for better button placement */
.email-input-container {
    position: relative;
    max-width: 400px;
    margin: 20px auto;
    display: flex;
    align-items: center;
}

.email-input::placeholder {
    color: #999;
    transition: color 0.2s ease;
}

.email-input:focus::placeholder {
    color: #292929;
    opacity: 0.6;
}

.carousel {
    max-width: 100%; /* Full width */
    width: 100%;
    margin: 0 auto; /* Remove vertical margin */
    border-radius: 0; /* Remove border radius */
    overflow: hidden;
    box-shadow: none; /* Remove shadow for better integration */
    background-color: #f3f4f5; /* Match website background */
}

.carousel-item {
    position: relative;
    height: 60vh; /* Responsive height based on viewport */
    min-height: 300px; /* Minimum height */
    max-height: 600px; /* Maximum height */
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    border-radius: 0;
    padding: 30px 20px;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.carousel-caption h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: "Roboto", sans-serif;
    text-align: center;
}

/* Input styling */
.carousel .email-input-container {
    background: transparent;
    border-radius: 8px;
    padding: 0;
    margin: 1rem auto;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

.carousel .email-input {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 12px 45px 12px 20px;
    font-size: 1rem;
    width: 100%;
    backdrop-filter: blur(10px);
    padding: 12px 45px 12px 20px;
}

.carousel .email-input:focus {
    outline: 1px solid #1d1d1d;
    border-color: transparent;
    box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
    .carousel-item {
        height: 50vh;
    }

    .carousel-caption h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 40vh;
    }

    .carousel-caption {
        padding: 20px 15px;
    }

    .carousel-caption h3 {
        font-size: 1.5rem;
    }

    .carousel .email-input {
        font-size: 0.9rem;
        padding: 10px 40px 10px 15px;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 35vh;
    }

    .carousel-caption h3 {
        font-size: 1.25rem;
    }
}

/* Indicators styling */
.carousel-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 1rem;
    gap: 8px;
    z-index: 3;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: none;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: background-color 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #ffffff;
    transform: none;
}

/* Hide carousel controls */
.carousel-control-prev,
.carousel-control-next {
    display: none;
}

/* Add gradient overlay for better visibility */
.carousel-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 0, 0, 0.4)
    );
    z-index: 2;
}

/* Add new hero styles */
.hero-section {
    padding: 4rem 1rem 4rem;
    background-color: #ffffff;
}

.hero-title {
    font-family: "Roboto", sans-serif;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.1;
    color: #000000;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: "Roboto", sans-serif;
    font-size: 1.75rem;
    font-weight: 300;
    color: #4D4D4D;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 3rem 1rem 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 2rem 1rem 2rem;
    }
}

/* Update carousel positioning */
.carousel {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Add these new styles for the overlays */
.carousel-item {
    position: relative;
}

.brand-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
    padding: 10px;
}

.brand-name {
    font-family: "Roboto", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stats-overlay {
    position: absolute;
    bottom: 140px; /* Adjust based on your caption height */
    left: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stats-label {
    font-family: "Roboto", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
    margin-bottom: 5px;
}

.stats-number {
    font-family: "Roboto", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brand-overlay {
        top: 20px;
        left: 20px;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .stats-overlay {
        bottom: 100px;
        left: 20px;
    }

    .stats-label {
        font-size: 1rem;
    }

    .stats-number {
        font-size: 2rem;
    }
}

/* Ensure caption stays on top */
.carousel-caption {
    z-index: 2;
}

/* Video section styling */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 12px; /* Slightly larger border radius */
    overflow: hidden;
    background: #000;
}

.teaser-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.watch-button {
    position: absolute;
    bottom: 30px;
    right: 30px;
    transform: none;
    background: #1C1C1C;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.watch-button:hover {
    background: #292929;
    color: #ffffff;
    transform: translateY(-1px);
}

.watch-button svg {
    fill: #ffffff;
}

.full-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.full-video-wrapper.active {
    opacity: 1;
    visibility: visible;
}

.full-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hidden {
    display: none;
}

/* Add new font styles */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

/* Add a darker overlay for better button visibility */
.video-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .watch-button {
        bottom: 20px;
        right: 20px;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Show and style navigation buttons */
.carousel-control-prev,
.carousel-control-next {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    margin: 0 15px;
    cursor: pointer;
    z-index: 5;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 36px;
        height: 36px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
}

.brand-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
    padding: 10px;
}

.brand-logo {
    height: 40px; /* Adjust based on your logo size */
    width: auto;
    /* filter: brightness(0) invert(1); /* Makes the logo white */
    /* opacity: 0.9; */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brand-logo {
        height: 30px; /* Smaller size for mobile */
    }
    
    .brand-overlay {
        top: 20px;
        left: 20px;
    }
}

/* Update container styles for all sections */
.container.mb-5.pb-5,
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Update card styles */
.card {
    overflow: hidden;
    border-radius: 8px;
    max-width: 1000px;
    margin: 2rem auto;
}

/* Update row spacing */
.row.mb-4,
.row.gy-4 {
    margin: 2rem auto;
    max-width: 1000px;
}

/* Update image styles */
.card .card-img {
    transition: all ease 0.3s;
    border-radius: 8px;
    width: 100%;
    height: auto;
}

/* Update grid spacing */
.row.gy-4 {
    gap: 2rem 0;
}

.col-md-6 .card {
    margin: 0; /* Remove margin from nested cards */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .container.mb-5.pb-5,
    .container,
    .card,
    .row.mb-4,
    .row.gy-4 {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container.mb-5.pb-5,
    .container {
        padding: 0 0.75rem;
    }
    
    .card {
        margin: 1.5rem auto;
    }
    
    .row.mb-4,
    .row.gy-4 {
        margin: 1.5rem auto;
    }
}

/* Update spacing for WhatsApp section */
.row.mb-4 {
    margin: 2rem auto;
}

/* Add these footer styles */
.footer {
    background-color: #000;
    color: #fff;
    padding: 48px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.brand-logo svg {
    width: 24px;
    height: 24px;
}

.language-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

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

.footer-legal p {
    margin: 0;
    line-height: 1.5;
}

.footer-legal p:first-child {
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* Add CTA section styles */
.cta-section {
    background-color: #1C1C1C;
    padding: 6rem 1rem;
    text-align: center;
    margin-top: 4rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.cta-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #1C1C1C;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    color: #1C1C1C;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 1rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
}

/* Update footer margin */
.footer {
    margin-top: 0; /* Remove margin since we have the CTA section above */
}
/* Update heading styles */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-family: "Roboto", sans-serif;
}

/* Update specific text elements */
.card h4,
.card p,
.stats-label,
.stats-number,
.video-text h1,
.video-text p,
.btn,
.navbar,
.footer,
.cta-subtitle,
.cta-title,
.cta-button {
    font-family: "Roboto", sans-serif;
}

/* Update input and placeholder text */
input,
input::placeholder,
button,
.email-input {
    font-family: "Roboto", sans-serif;
}

/* Update WhatsApp section */
.fw-bold,
.text-muted,
.display-5,
.fs-1,
.fs-2 {
    font-family: "Roboto", sans-serif;
}

/* Update footer text */
.footer-location span,
.footer-links a,
.footer-legal,
.legal-text {
    font-family: "Roboto", sans-serif;
}

/* Update CTA section */
.cta-section * {
    font-family: "Roboto", sans-serif;
}

/* Import Inter font */
@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,500&display=swap");

/* Custom properties */
:root {
    --shiny-cta-bg: #000000;
    --shiny-cta-bg-subtle: #1a1818;
    --shiny-cta-fg: #ffffff;
    --shiny-cta-highlight: #4131F6;
    --shiny-cta-highlight-subtle: #6B5EFF;
}

/* Define custom properties */
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-angle-offset {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-percent {
    syntax: "<percentage>";
    initial-value: 5%;
    inherits: false;
}

@property --gradient-shine {
    syntax: "<color>";
    initial-value: white;
    inherits: false;
}

/* Base button styles */
.shiny-cta {
    --animation: gradient-angle linear infinite;
    --duration: 3s;
    --shadow-size: 2px;
    isolation: isolate;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    outline-offset: 4px;
    padding: 1.25rem 2.5rem;
    font-family: "Inter", sans-serif;
    font-size: 1.125rem;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: 360px;
    color: var(--shiny-cta-fg);
    background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
                conic-gradient(
                    from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
                    transparent,
                    var(--shiny-cta-highlight) var(--gradient-percent),
                    var(--gradient-shine) calc(var(--gradient-percent) * 2),
                    var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
                    transparent calc(var(--gradient-percent) * 4)
                ) border-box;
    box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);
}

/* Pseudo-elements base styles */
.shiny-cta::before,
.shiny-cta::after,
.shiny-cta span::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    z-index: -1;
}

/* Dots pattern */
.shiny-cta::before {
    --size: calc(100% - var(--shadow-size) * 3);
    --position: 2px;
    --space: calc(var(--position) * 2);
    width: var(--size);
    height: var(--size);
    background: radial-gradient(
        circle at var(--position) var(--position),
        white calc(var(--position) / 4),
        transparent 0
    ) padding-box;
    background-size: var(--space) var(--space);
    background-repeat: space;
    mask-image: conic-gradient(
        from calc(var(--gradient-angle) + 45deg),
        black,
        transparent 10% 90%,
        black
    );
    border-radius: inherit;
    opacity: 0.4;
}

/* Inner shimmer */
.shiny-cta::after {
    --animation: shimmer linear infinite;
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(
        -50deg,
        transparent,
        var(--shiny-cta-highlight),
        transparent
    );
    mask-image: radial-gradient(circle at bottom, transparent 40%, black);
    opacity: 0.6;
}

/* Text container */
.shiny-cta span {
    position: relative;
    z-index: 1;
}

.shiny-cta span::before {
    --size: calc(100% + 1rem);
    width: var(--size);
    height: var(--size);
    box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
    opacity: 0;
}

/* Animations */
.shiny-cta {
    --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
    transition: var(--transition);
    transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine;
}

.shiny-cta,
.shiny-cta::before,
.shiny-cta::after {
    animation: var(--animation) var(--duration),
               var(--animation) calc(var(--duration) / 0.4) reverse paused;
    animation-composition: add;
}

.shiny-cta span::before {
    transition: opacity var(--transition);
    animation: calc(var(--duration) * 1.5) breathe linear infinite;
}

/* Hover states */
.shiny-cta:is(:hover, :focus-visible) {
    --gradient-percent: 20%;
    --gradient-angle-offset: 95deg;
    --gradient-shine: var(--shiny-cta-highlight-subtle);
}

.shiny-cta:is(:hover, :focus-visible),
.shiny-cta:is(:hover, :focus-visible)::before,
.shiny-cta:is(:hover, :focus-visible)::after {
    animation-play-state: running;
}

.shiny-cta:is(:hover, :focus-visible) span::before {
    opacity: 1;
}

/* Active state */
.shiny-cta:active {
    translate: 0 1px;
}

/* Keyframe animations */
@keyframes gradient-angle {
    to {
        --gradient-angle: 360deg;
    }
}

@keyframes shimmer {
    to {
        rotate: 360deg;
    }
}

@keyframes breathe {
    from, to {
        scale: 1;
    }
    50% {
        scale: 1.2;
    }
}

/* Update code block styles */
pre {
    font-size: 1.3rem;
    line-height: 0.4;
    margin: 2rem auto;
    width: fit-content;
    height: fit-content;
    padding: 2rem;
    background-color: #151718;
    color: #e6cd69;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

code {
    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
}

/* Update colors to match reference */
pre code em {
    color: #a074c4; /* Purple for number */
    font-style: normal;
}

pre code strong {
    color: #9fca56; /* Green for "on" */
    font-weight: normal;
}

pre code b {
    color: #55b5db; /* Blue for "Threads" */
    font-weight: normal;
}

pre code u {
    color: #eeeeee; /* White for emoji */
    text-decoration: none;
}

pre code s {
    color: #666666; /* Gray for comment */
    text-decoration: none;
}

.lineOfCode {
    animation: typingEffect 1800ms steps(14, end) forwards 1000ms,
              caretAnim 500ms steps(2, end) 0s infinite;
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: 0;
    height: auto;
    border-right: 2px solid #ffffff;
    line-height: 1.4;
}

.lineOfCode + .lineOfCode {
    margin-top: 0.2rem;
}

.lineOfCode:nth-of-type(2) {
    height: 0;
    animation-delay: 3100ms;
}

.lineOfCode:nth-of-type(3) {
    height: 0;
    animation-delay: 5200ms;
}

@keyframes typingEffect {
    0% {
        border-width: 2px;
    }
    5% {
        width: 0;
        height: auto;
        border-width: 2px;
    }
    93% {
        border-width: 2px;
    }
    100% {
        width: 14ch;
        height: auto;
        border-width: 0;
    }
}

@keyframes caretAnim {
    0% {
        border-color: transparent;
    }
    50% {
        border-color: #ffffff;
    }
    100% {
        border-color: transparent;
    }
}

pre code {
    display: block;
    padding: 0.5rem 0;
}

/* Add these new styles for the gradient border button */
@property --border-angle-1 {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0deg;
}

@property --border-angle-2 {
    syntax: "<angle>";
    inherits: true;
    initial-value: 90deg;
}

@property --border-angle-3 {
    syntax: "<angle>";
    inherits: true;
    initial-value: 180deg;
}

:root {
    --bright-blue: rgb(0, 100, 255);
    --bright-green: rgb(0, 255, 0);
    --bright-red: rgb(255, 0, 0);
    --background: #1C1C1C;
    --foreground: white;
    --border-size: 2px;
    --border-radius: 0.75em;
}

@supports (color: color(display-p3 1 1 1)) {
    :root {
        --bright-blue: color(display-p3 0 0.2 1);
        --bright-green: color(display-p3 0.4 1 0);
        --bright-red: color(display-p3 1 0 0);
    }
}

.gradient-border-button {
    --border-angle-1: 0deg;
    --border-angle-2: 90deg;
    --border-angle-3: 180deg;
    color: inherit;
    font-size: calc(0.8rem + 1vmin);
    font-family: inherit;
    border: 0;
    padding: var(--border-size);
    display: flex;
    width: max-content;
    margin: 0 auto;
    border-radius: var(--border-radius);
    background-color: transparent;
    background-image: conic-gradient(
            from var(--border-angle-1) at 10% 15%,
            transparent,
            var(--bright-blue) 10%,
            transparent 30%,
            transparent
        ),
        conic-gradient(
            from var(--border-angle-2) at 70% 60%,
            transparent,
            var(--bright-green) 10%,
            transparent 60%,
            transparent
        ),
        conic-gradient(
            from var(--border-angle-3) at 50% 20%,
            transparent,
            var(--bright-red) 10%,
            transparent 50%,
            transparent
        );
    animation: 
        rotateBackground 3s linear infinite,
        rotateBackground2 8s linear infinite,
        rotateBackground3 13s linear infinite;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.gradient-border-button:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.2);
}

.gradient-border-button:active {
    transform: translateY(1px);
}

.gradient-border-button div {
    background: var(--background);
    padding: 1em 1.5em;
    border-radius: calc(var(--border-radius) - var(--border-size));
    color: var(--foreground);
    transition: background 0.3s ease;
}

.gradient-border-button:hover div {
    background: #2a2a2a;
}

@keyframes rotateBackground {
    to { --border-angle-1: 360deg; }
}

@keyframes rotateBackground2 {
    to { --border-angle-2: -270deg; }
}

@keyframes rotateBackground3 {
    to { --border-angle-3: 540deg; }
}

/* Add scroll-based animation classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

.scale-up {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Add stagger effect for multiple elements */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-animation > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { transition-delay: 0.5s; }

.stagger-animation.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.language-switch .btn-link {
    color: #333;
    text-decoration: none;
    padding: 0.5rem;
    font-weight: 500;
}

.language-switch .btn-link:hover {
    color: #666;
}

.language-switch .dropdown-menu {
    min-width: 120px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.08);
}

.language-switch .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.language-switch .dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Hide language-specific content */
[lang]:not([lang="en"]) {
    display: none;
}

[data-lang].active {
    font-weight: 500;
    background-color: #f8f9fa;
}

/* Language Switch Styles */
.language-switch {
    margin: 0;
    padding: 0;
    margin-left: auto; /* Push to the far right if needed */
}

.switch-container {
    display: flex;
    background: #f3f4f5;
    padding: 4px;
    border-radius: 24px;
    gap: 4px;
    width: 96px;
    justify-content: space-between;
}

.switch-button {
    border: none;
    background: transparent;
    padding: 6px 0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 44px; /* Fixed width for each button */
    text-align: center;
    flex-shrink: 0; /* Prevent button from shrinking */
}

.switch-button.active {
    background: #fff;
    color: #000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.switch-button:hover:not(.active) {
    color: #333;
}

/* Responsive adjustments for the logo */
@media (max-width: 1200px) {
    .roboto-serif-logo,
    .roboto-serif-logo-thin {
        font-size: 120px;
    }
}

@media (max-width: 768px) {
    .roboto-serif-logo,
    .roboto-serif-logo-thin {
        font-size: 80px;
    }
}

@media (max-width: 480px) {
    .roboto-serif-logo,
    .roboto-serif-logo-thin {
        font-size: 48px;
    }
}

