:root {
    --background: hsl(0, 0%, 99%);
    --foreground: #14213d;
    --card: hsl(0deg 0% 97%);
    --card-foreground: hsl(222, 15%, 20%);
    --primary: hsl(38, 98%, 52%); /* #fca311 */
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-glow: hsl(38, 98%, 64%);
    --secondary: hsl(221, 30%, 96%);
    --secondary-foreground: hsl(222, 15%, 20%);
    --tertiary: hsl(128, 40%, 43%);
    --tertiary-foreground: hsl(222, 15%, 20%);
    --muted: hsl(220, 15%, 96%);
    --muted-foreground: hsl(220, 10%, 46%);
    --accent: hsl(38, 98%, 96%);
    --accent-foreground: var(--primary);
    --border: hsl(220, 13%, 91%);
    --shadow-soft: 0 4px 20px -4px hsla(38, 98%, 52%, 0.15);
    --shadow-card: 0 2px 10px -2px hsl(220, 10%, 46%, 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

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

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

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

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.logo-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--foreground);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-subtext {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--muted-foreground);
}

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

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

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

.desktop-cta {
    display: none;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

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

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

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

.mobile-cta {
    margin-top: 1rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

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

.btn-hero:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-soft);
}

.btn-outline-hero {
    background: rgba(255, 255, 255, 0.1);
    color: var(--foreground);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

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

.hero .btn-outline-hero {
    background: transparent;
    color: var(--primary-foreground);
    border: 1px solid var(--primary-foreground);
}
.hero .btn-outline-hero:hover {
    background: hsla(0, 0%, 100%, 0.1);
    transform: scale(1.05);
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(
        270deg,
        #cc9711,
        #ffd700,
        #daa520,
        #ffd700,
        #d6a72e
    );
    background-size: 400% 100%;
    animation: shimmer-gold 16s ease-in-out infinite;
    color: #fffaf0;
    text-align: center;
    padding: 0.5rem 1rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.6); /* subtle glow */
    box-shadow: 0 4px 12px rgba(20, 33, 61, 0.1);
    position: relative; /* To ensure shadow is above hero */
    z-index: 1;
}

/* Shimmer animation */
@keyframes shimmer-gold {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.announcement-bar p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: auto;
    background: #ffef2e;
    overflow: hidden;
    padding: 3rem 0rem 5rem 0rem;
}

.hero-company-name-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding-bottom: 4.5rem;
}

.hero-company-logo:first-child {
  max-width: 170px;
  width: 100%;
  height: auto;
}

.hero-company-logo:last-child {
  max-width: 450px;
  width: 100%;
  height: auto;
}

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

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

.hero-badge {
    display: inline-block;
    width: fit-content;
}

.hero-badge span {
    background-color: rgba(0, 0, 0, 0.349);
    color: var(--primary-foreground);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 500;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--foreground);
}

.text-primary {
    color: var(--foreground);
    position: relative;
    display: inline-block;
}

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

.hero-title-underline {
    position: absolute;
    bottom: -2.2rem;
    left: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
    color: var(--foreground);
}

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

.hero-image-container {
    position: relative;
    z-index: 10;
    height: 45vh; /* Give a specific height on mobile */
    border-radius: 1rem;
    overflow: hidden;
}

.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, #ffef2e, transparent);
    pointer-events: none;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    z-index: -1;
}

.hero-decoration-1 {
    top: -1rem;
    right: -1rem;
    width: 18rem;
    height: 18rem;
    background-color: rgba(252, 163, 17, 0.1);
}

.hero-decoration-2 {
    bottom: -2rem;
    left: -2rem;
    width: 16rem;
    height: 16rem;
    background-color: rgba(252, 163, 17, 0.15); /* Changed from purple to a shade of the new primary */
}

/* Hero Stats (within Hero section) */
.hero-stats-container {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.stat-card {
    background-color: var(--card);
    padding: 0.7rem 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.stat-icon {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.icon-red {
    background-color: #E22222;
}

.icon-green {
    background-color: #288E34;
}

.icon-blue {
    background-color: #3661D3;
}

.stat-text {
    font-weight: 500;
    font-size: 1rem;
    color: var(--foreground);
    white-space: nowrap;
}

/* Trust Section */
.trust-section {
    padding: 4rem 0;
    background-color: var(--tertiary);
    overflow: hidden;
}

.trust-content {
    text-align: center;
    margin-bottom: 3rem;
}

.trust-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-foreground);
}

.company-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.123);
    border-radius: 0.5rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 60px;
    width: 180px;
    flex-shrink: 0; 
    transition: var(--transition-smooth);
}

.company-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.company-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    /* This filter combination makes the logos white to match the design */
    /* filter: brightness(0) invert(1);s */
    transition: var(--transition-smooth);
}

.company-card:hover .company-logo {
    opacity: 1;
}

.scroller {
    max-width: 1900px;
    margin: 0 auto;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller__inner {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 60s linear infinite;
}

@media (prefers-reduced-motion) {
    .scroller__inner {
        animation-play-state: paused;
    }
}

@keyframes scroll {
    to {
        transform: translateX(calc(-50% - 1rem));
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.features > .container {
    position: relative;
    z-index: 1;
}

.raining-currency {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.currency-symbol {
    position: absolute;
    top: -10%;
    font-family: 'Times New Roman', serif;
    color: var(--tertiary);
    animation: rain-fall linear infinite;
    user-select: none;
}

@keyframes rain-fall {
    from {
        transform: translateY(0) rotate(0deg);
    }
    to {
        transform: translateY(110vh) rotate(20deg);
    }
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.features-badge span {
    background-color: var(--accent);
    color: var(--accent-foreground);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.features-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    padding: 1.5rem;
    background-color: var(--card);
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    box-shadow: var(--shadow-soft);
}

.feature-content {
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(252, 163, 17, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background-color: rgba(252, 163, 17, 0.2);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.feature-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
}

.feature-stats {
    padding: 1rem;
    background: linear-gradient(180deg, var(--accent) 0%, var(--background) 100%);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}

.stats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

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

.stats-trend {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    background-color: rgba(252, 163, 17, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

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

.features-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-footer-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.advantages-heading span {
    color: var(--primary);
}

/* Advantages Section */
.advantages-section {
    padding: 5rem 0;
    background-color: var(--card);
}

.advantages-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    gap: 3rem;
}

/* .advantages-header-content {
    
} */

.advantages-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.2;
}

.advantages-subheading {
    padding-top: 8px;
    max-width: 47rem;
}

.advantages-description-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.advantages-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.advantages-link:hover {
    text-decoration: underline;
}

.advantages-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: start;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    height: fit-content;
}

.advantage-card {
    position: relative;
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease-out;
    cursor: pointer;
    border: 1px solid var(--border);
}

.advantage-card.primary-card {
    background-color: var(--primary);
    color: white;
    border-color: transparent;
}

.advantage-card.muted-card {
    background-color: var(--muted);
    color: var(--foreground);
}

.advantage-card:hover {
    box-shadow: var(--shadow-soft);
    z-index: 10;
}

.card-number {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
}

.card-number.primary-card {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.card-number.muted-card {
    background-color: var(--border);
    color: var(--muted-foreground);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.2;
}

.card-description {
    overflow: hidden;
    transition: all 0.3s ease-out;
    max-height: 0;
    opacity: 0;
}

.advantage-card.active .card-description {
    max-height: 200px;
    opacity: 1;
}

.card-description p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.card-description.primary-card p {
    color: rgba(255, 255, 255, 0.9);
}

.card-description.muted-card p {
    color: var(--muted-foreground);
}

.advantages-svg-container {
    display: flex;
    justify-content: center;
}

.advantages-illustration {
    width: 100%;
    max-width: 36rem;
    height: auto;
}

/* Product Offerings Section (reusing advantages-grid) */

.advantages-illustration-one {
    width: 90%;
    max-width: 36rem;
    height: auto;
}

.product-card {
    /* Reset button styles */
    border: none;
    cursor: pointer;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
    width: 100%; /* Ensure button takes full grid width */
    position: relative;
    padding: 1.2rem 0.5rem 0.3rem;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 0 3px var(--primary), var(--shadow-soft);
    border-color: transparent;
}

.product-card-content-wrapper {
    flex-grow: 1; /* Allow this wrapper to take up available space */
    padding-bottom: 1.2rem;
}

.product-card-popup-btn {
    align-self: flex-end; /* Align button to the right */
    margin: 0 0.5rem 0.5rem 0; /* Adjust spacing to feel like it's inside the card padding */
    background-color: hsl(38, 100%, 50%);
    color: var(--accent);
    border: none;
    border-radius: 9999px;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.product-card-popup-btn:hover {
    background-color: hsla(38, 98%, 52%, 0.493);
    color: black;
    opacity: 1;
    transform: scale(1.1);
}

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

.product-type-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    color: var(--foreground);
    font-size: 1rem;
    font-weight: 500;
}

.product-type-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 0 3px var(--primary), var(--shadow-soft);
    border-color: transparent;
}
.product-type-button-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 0.5rem;
}

.product-type-button-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-icon {
    border-radius: 0.75rem;
    margin-bottom: 1.1rem;
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
}

.product-card-icon img {
    /* padding: 10px; */
    width: 10rem;
    height: 10rem;
}

.product-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.product-card-description {
    font-size: 0.88rem;
    color: hsl(222, 15%, 20%);
    line-height: 1.6;
}

/* Vision Section */
.vision-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--tertiary);
    background-size: 200% 200%;
    animation: gradient-flow 18s ease infinite;
    z-index: 0;
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes quote-appear {
    from {
        opacity: 0.2;
        transform: scale(0.8);
    }
    to {
        opacity: 0.6;
        transform: scale(1);
    }
}

@keyframes quote-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.vision-content {
    text-align: center;
    max-width: 60rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.vision-quote {
    position: relative;
    padding: 2rem 3rem;
}

.vision-quote::before,
.vision-quote::after {
    position: absolute;
    font-size: 7rem;
    color: var(--primary);
    opacity: 0; /* Set by animation */
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
    animation-name: quote-appear, quote-float;
    animation-duration: 1.2s, 15s;
    animation-timing-function: ease-out, ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: 1, infinite;
}

.vision-quote::before {
    content: '“';
    top: 0;
    left: 0;
    animation-delay: 0.3s, 0s;
}

.vision-quote::after {
    content: '”';
    bottom: 0;
    right: 0;
    line-height: 0; /* Adjust positioning for closing quote */
    animation-delay: 0.5s, 7.5s;
}

.vision-text {
    font-size: 1.375rem;
    font-weight: 500;
    color: whitesmoke;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.8s, transform 0.8s ease-out 0.8s;
}

.vision-quote.is-visible .vision-text {
    opacity: 1;
    transform: translateY(0);
}

/* --- ECG Separator --- */
.ecg-separator-container {
    width: 100%;
    height: 100px;
    overflow: hidden;
    background-color: var(--card); /* Match the section background */
    position: relative;
}

.ecg-line {
    width: 200%; /* Make SVG wider than container to scroll */
    height: 100%;
    position: absolute;
    left: 0;
    top: 50%; /* Vertically center the path */
    transform: translateY(-50%) scaleY(0.8); /* Slightly flatten the wave */
    animation: scroll-ecg 15s linear infinite;
}

.ecg-path {
    stroke: var(--tertiary); /* A healthy green color */
    stroke-width: 3; /* A clean, thin line */
}

@keyframes scroll-ecg {
    from { transform: translateX(0) translateY(-50%) scaleY(0.8); }
    to { transform: translateX(-50%) translateY(-50%) scaleY(0.8); }
}
/* --- Disclaimer Popup Styles --- */
.disclaimer-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsla(222, 47%, 11%, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s 0.4s;
}

.disclaimer-popup.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease;
}

.disclaimer-content {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: 1rem;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 85vh;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.disclaimer-popup.is-visible .disclaimer-content {
    transform: scale(1);
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--foreground);
}

.disclaimer-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.disclaimer-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.disclaimer-body {
    overflow-y: auto;
    padding-right: 0.5rem; /* For scrollbar spacing */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.disclaimer-body p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* Custom scrollbar for disclaimer */
.disclaimer-body::-webkit-scrollbar { width: 6px; }
.disclaimer-body::-webkit-scrollbar-track { background: transparent; }
.disclaimer-body::-webkit-scrollbar-thumb { background-color: var(--border); border-radius: 6px; }

#acceptDisclaimer {
    width: 100%;
    background-color: var(--tertiary);
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    padding: 3rem 0;
    background-color: var(--foreground);
    color: var(--background);
    background-image: radial-gradient(hsl(38, 98%, 52%) 1px, transparent 1px);
    background-size: 28px 28px;
    animation: move-dots 5s linear infinite;
    position: relative;
}

@keyframes move-dots {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 28px 28px;
    }
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--background);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-description {
    font-size: 1.25rem;
    color: hsla(0, 0%, 99%, 0.7);
    max-width: 36rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    background-color: hsl(222deg 29.97% 26.16% / 40%);
    /* backdrop-filter: blur(16px); */
    border: 1px solid hsla(0, 0%, 99%, 0.1);
    border-radius: 1rem;
    padding: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background-color: hsla(38, 98%, 52%, 0.08);
}

.contact-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 1px solid hsla(38, 98%, 52%, 0.3);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon {
    background-color: var(--primary);
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon svg {
    color: var(--foreground);
}

.contact-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--background);
}

.contact-text p {
    color: hsla(0, 0%, 99%, 0.7);
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.modal.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 33, 61, 0.5);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background-color: var(--card);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.2);
    z-index: 101;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.open .modal-content {
    transform: scale(1);
}

/* Custom Scrollbar for Modal on Webkit browsers */
.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
    margin-block: 1rem;
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: 10px;
    border: 2px solid var(--card);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--muted-foreground);
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--foreground);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--muted-foreground);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.required-indicator {
    color: #ed232a;
    font-weight: 700;
    margin-left: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
    background-color: var(--background);
    width: 100%;
    transition: var(--transition-smooth);
    color: var(--foreground);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-foreground);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(38, 98%, 52%, 0.2);
}

.modal-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.modal-success {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.modal-content.form-submitted .modal-form,
.modal-content.form-submitted .modal-header {
    display: none;
}

.modal-content.form-submitted .modal-success {
    display: block;
}

.success-animation {
    margin: 0 auto 1.5rem;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--primary);
    stroke-miterlimit: 10;
    animation: scale .3s ease-in-out .9s both;
    margin: 0 auto;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--primary);
    fill: none;
    animation: stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

    .vision-text {
    font-size: 1.3rem;
}

    .desktop-cta {
        display: block;
    }

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

    .hero-buttons {
        flex-direction: row;
        gap: 0;
    }

    .hero-buttons .btn-hero {
        border-radius: 25px;
        border: 1px solid var(--foreground);
        border-right-width: 0;
    }

    /* Tablet-specific hero layout */
    .hero-content {
        justify-items: center;
        text-align: center;
        padding-bottom: 30px;
    }

    .hero-text {
        align-items: center;
    }

    .hero-stats-container {
        justify-content: center;
    }

    .hero-title {
        font-size: 4rem;
    }
    
    .advantages-heading {
        font-size: 3.5rem;
    }

    .hero-stats-container {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }

    .stat-card {
        width: fit-content;
    }

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

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

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

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1.1fr;
        align-items: stretch;
    }

    /* Reset tablet styles for desktop */
    .hero-content {
        justify-items: start;
        text-align: left;
    }

    .hero-text {
        align-self: center;
        align-items: flex-start;
    }

    .hero-image-container { 
        height: 100%; /* Stretch to fill grid cell on desktop */
    }

    .advantages-header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2.5rem;
    }
    .advantages-content-wrapper {
        grid-template-columns: 1.8fr 1.2fr;
        gap: 2.5rem;
    }
    #advantagesGrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    .advantage-column {
        display: grid;
        grid-template-rows: 1fr 1fr;
        gap: 0.75rem;
        transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        min-height: 360px;
    }
    .advantage-column.hover-top-card {
        grid-template-rows: 1.5fr 0.5fr;
    }
    .advantage-column.hover-bottom-card {
        grid-template-rows: 0.5fr 1.5fr;
    }
    .advantage-card {
        overflow: hidden;
    }
    .advantage-card.active {
        justify-content: flex-start;
    }
    .advantages-svg-container {
        justify-content: flex-end;
    }

    /* Specific grid for products on desktop */
    #productOfferingsGrid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Center the last item in a 3-column grid if it's the only one in the last row */
    #productOfferingsGrid.grid-cols-3 > .product-card:last-child:nth-child(3n - 2) {
        grid-column-start: 2;
    }

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

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

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

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

    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        padding: 4rem;
    }
    .contact-header {
        margin-bottom: 0;
    }
}

@media (min-width: 1440px) {

    .advantages-subheading {
        padding-left: 60px;
        max-width: 47rem;
    }

    .container {
        max-width: 1400px;
    }

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

    .hero-title-underline {
        bottom: -2.5rem;
    }

    .features-description {
        max-width: 56rem;
    }
}

@media (max-width: 768px) {

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

  .hero-company-name-wrapper {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-company-logo:first-child {
    max-width: 160px;
  }

  .hero-company-logo:last-child {
    max-width: 250px;
  }
}