:root {
    --primary: #ff5722;
    --secondary: #2196f3;
    --animation-duration: 0.5s;
    --bg-body: #ffffff;
    --text-main: #1f2933;
    --text-muted: #6b7280;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-800: #1f2937;
    --orange:var(--primary);
}
html {
    scroll-behavior: smooth;
}


/* RESET / BASE */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
}

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

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

button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

.page {
    min-height: 100vh;
}

/* UTILITIES */

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

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

.text-accent {
    color: #fcd34d;
}

.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
}

.icon-large {
    width: 40px;
    height: 40px;
}

.icon-small {
    width: 18px;
    height: 18px;
}

.text-primary .icon,
.icon.text-primary {
    color: var(--primary);
}

/* BUTTONS */

.btn {
    border-radius: 999px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background-color: #e64a19;
}

.btn-outline {
    border: 2px solid #d1d5db;
    background: transparent;
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: #9ca3af;
    background-color: #f9fafb;
}

.btn-light {
    background-color: #ffffff;
    color: var(--secondary);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.btn-light:hover {
    background-color: #f3f4f6;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-icon .icon {
    margin-left: 0.5rem;
}

/* NAVIGATION */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

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

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

.nav-links a {
    font-weight: 500;
    color: #374151;
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-cta {
    display: none;
}

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

    .nav-cta {
        display: inline-flex;
    }
}

/* HERO */

.hero {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    width: 100%;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.hero-image-wrapper {
    width: 100%;
    position: relative;
}

.hero-main-image {
    border-radius: 0.75rem;
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.3);
}

.hero-stats-card {
    position: absolute;
    right: -10px;
    bottom: -10px;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.3);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-stats-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 999px;
    background-color: rgba(255, 87, 34, 0.12);
    color: var(--primary);
}

.hero-stats-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.hero-stats-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

@media (min-width: 768px) {
    .hero-inner {
        flex-direction: row;
    }

    .hero-text {
        width: 50%;
    }

    .hero-image-wrapper {
        width: 50%;
    }

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

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-actions {
        flex-direction: row;
    }
}

/* LOGOS */

.logos {
    padding: 2.5rem 0 3rem;
    background-color: var(--gray-50);
}

.logos-title {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logos-image {
    height: 48px;
    object-fit: contain;
}

.logos-label {
    margin-top: 0.5rem;
    font-weight: 500;
}

/* SECTIONS */

.section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
}
.section.cta .section-subtitle {
    color: #fff;
}

.section-header-light .section-title,
.section-header-light .section-subtitle {
    color: #ffffff;
}

/* SERVICES */

.services {
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.15s ease;
}

.service-card:hover {
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

.service-icon-wrap {
    display: inline-flex;
    padding: 1rem;
    border-radius: 999px;
    background-color: rgba(255, 87, 34, 0.09);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* STATS */

.stats {
    background-image: linear-gradient(to right, #2563eb, #1e40af);
    color: #ffffff;
}

.stats-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #facc15;
    margin: 0 0 0.5rem;
}

.stat-label {
    margin: 0;
    font-size: 1.05rem;
}

/* CASE STUDIES / TABS */

.case-studies {
    background-color: #ffffff;
}

.tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--gray-200);
}

.tab-button {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.tab-button:hover {
    color: #111827;
}

.tab-button.active {
    color: #2563eb;
    border-color: #2563eb;
}

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

.case-text {
    order: 2;
}

.case-image {
    order: 1;
    position: relative;
}

@media (min-width: 768px) {
    .case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-text {
        order: 1;
    }

    .case-image {
        order: 2;
    }
}

.case-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.case-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.progress-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.progress-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progress-label {
    width: 70px;
    font-weight: 600;
}

.progress-bar {
    flex: 1;
    height: 0.9rem;
    border-radius: 999px;
    background-color: #e5e7eb;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: inherit;
}

.progress-red {
    background-color: #ef4444;
}

.progress-green {
    background-color: #22c55e;
}

.progress-value {
    width: 70px;
    text-align: right;
}

.case-image img {
    border-radius: 0.75rem;
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.22);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-image {
    display: none;
}

.tab-image.active {
    display: block;
}

.logos {
    background-color: var(--gray-50);
}


/* TESTIMONIALS */

.testimonials {
    /*background-color: var(--gray-50);*/
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.testimonial-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-mark {
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 3rem;
    color: #e5e7eb;
}

.testimonial-text {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    margin-bottom: 0px;
    text-align: left;
}

.testimonial-position {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 0px;

}

/* CTA */

.cta {
    background-image: linear-gradient(to left, #7c3aed, var(--secondary));
    color: #ffffff;
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* CONTACT */

.contact {
    background-color: #ffffff;
}

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

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-info .section-title {
    margin-bottom: 0.5rem;
}

.contact-info .section-subtitle {
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background-color: rgba(255, 87, 34, 0.09);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


.contact-label {
    margin: 0 0 0.15rem;
    font-weight: 700;
}

.contact-value {
    margin: 0;
    color: var(--text-muted);
}

.contact-form {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    resize: vertical;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    font: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35);
}

/* FOOTER */

.footer {
    background-color: #111827;
    color: #e5e7eb;
    padding: 3rem 0;
}

.footer-inner {
    padding-bottom: 1.5rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background-color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.social-btn:hover {
    background-color: #374151;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.95rem;
    transition: color 0.15s ease;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    margin: 0;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #9ca3af;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

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

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

/* ANIMATIONS */

.fade-in-up,
.fade-in-left,
.fade-in-right,
.fade-in-scale {
    opacity: 0;
    transform: translateY(10px);
    animation-duration: var(--animation-duration);
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

.fade-in-left {
    transform: translateX(-20px);
}

.fade-in-right {
    transform: translateX(20px);
}

.fade-in-scale {
    transform: scale(0.92);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    animation-name: fadeUp;
}

.fade-in-left {
    animation-name: fadeLeft;
}

.fade-in-right {
    animation-name: fadeRight;
}

.fade-in-scale {
    animation-name: fadeScale;
}

/* RESPONSIVE TYPOGRAPHY */

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }

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

/* IMAGE FALLBACK */

.image-fallback-wrapper {
    display: inline-block;
    background-color: #f3f4f6;
    text-align: center;
    vertical-align: middle;
}
.section-subtitle.fade-in-up{
    margin: 10px auto 23px auto;
}
/* Typewriter Effect Styles */
.typewriter-cursor {
    display: inline-block;
    margin-left: 2px;
    font-weight: 400;
    animation: blink 0.75s step-end infinite;
    color: var(--primary); /* Or var(--orange) depending on your vars */
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* --- MOBILE NAVIGATION --- */

/* Hide toggle on desktop */
.mobile-toggle {
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 65px; /* Adjust based on your nav height */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 40;
    transform: translateX(100%); /* Hidden by default */
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-top: 1px solid var(--border);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Mobile Toggle Button Styling */
@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none !important; /* Force hide desktop elements */
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 32px; /* Slightly wider for chunky lines */
        height: 24px; /* Slightly taller balance */
        background: transparent;
        cursor: pointer;
        z-index: 50;
        padding: 0;
        border: none;
    }

    .mobile-toggle .bar {
        width: 100%;
        height: 4px; /* INCREASED STRENGTH: Changed from 3px to 4px */
        background-color: var(--secondary);
        border-radius: 4px; /* Rounded corners look better with thicker lines */
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); /* Smoother timing function */
        /* REMOVED: transform-origin: left; <--- This was causing the asymmetry */
    }
    .mobile-toggle .bar:nth-child(2) {
        //background-color: var(--orange);
    }

    /* Hamburger Animation to Symmetrical 'X' */
    /* We translate (move) them to the center, then rotate */
    .mobile-toggle.active .bar:first-child {
        transform: translateY(10px) rotate(45deg);
    }

    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
        /* Just fade it out, no need to move it */
    }

    .mobile-toggle.active .bar:last-child {
        transform: translateY(-10px) rotate(-45deg);
    }
}

/* Link Styling & Staggered Animation */
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    width: 100%;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Animate links in when menu is active */
.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

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




















/*-----------------------------------------------------------------------------*/
/*                                  pripadova studie                           */
/*-----------------------------------------------------------------------------*/
/* --- CASE STUDY PAGE SPECIFIC STYLES --- */
/* =========================================
   CASE STUDY PAGE STYLES (Light & Fresh)
   ========================================= */

/* --- 1. HERO WITH PARALLAX --- */
.cs-hero {
    position: relative;
    padding: 9rem 0 8rem; /* Extra padding at bottom for overlap */
    color: #1f2933;
    text-align: center;
    overflow: hidden;
}

/* Parallax Background Image */
.cs-hero-bg {
    position: absolute;
    inset: 0;
    /* High quality office/meeting image */
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates the parallax effect */
    z-index: 0;
}

.studie1odtah
.cs-hero-bg {
    background-image: url('img/odtahbg.avif');
    background-position: top;
}

@media screen and (max-width: 600px) {
    .studie1odtah
    .cs-hero-bg
    {
        background-image: url('img/img.avif');
        background-position: center;}
}

.studie2makeup
.cs-hero-bg {
    background-image: url('img/makeup_bg.avif');
    background-position: top;
}

@media screen and (max-width: 600px) {
    .studie2makeup
    .cs-hero-bg
{    background-position: right;}
}

.studie3deweb
.cs-hero-bg {
    background-image: url('img/deweb_gg.avif');
    background-position: top;
}

@media screen and (max-width: 600px) {
    .studie3deweb
    .cs-hero-bg
    {  background-image: url('img/deweb_p.avif');  background-position: top;}
}


.logo{
    cursor: pointer;
}

/* Light Overlay for readability */
.cs-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.85); /* White overlay, 85% opacity */
    backdrop-filter: blur(3px); /* Subtle glass effect */
    z-index: 1;
}

.cs-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.cs-tags {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cs-tag {
    background-color: #fff;
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.cs-title {
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #111827;
}

.cs-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto;
}

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

/* --- 2. OVERLAPPING STATS BAR --- */
.cs-stats-bar {
    position: relative;
    z-index: 10;
    margin-top: -4rem; /* Pulls the element UP over the hero */
    padding: 0 1rem;
}

.cs-stats-grid {
    background-color: #ffffff;
    border-radius: 1rem;
    /* Soft, deep shadow to emphasize depth */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.03);
}

@media (min-width: 768px) {
    .cs-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 2.5rem;
    }
}

.cs-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

@media (min-width: 768px) {
    .cs-stat-item {
        border-bottom: none;
        border-right: 1px solid #f3f4f6;
    }
    .cs-stat-item:last-child {
        border-right: none;
    }
}

.cs-stat-val {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -1px;
}

.cs-stat-label {
    color: #6b7280;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* --- 3. LAYOUT UTILITIES --- */
.cs-split {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.cs-spacer { height: 5rem; }
.cs-image-wrap { width: 100%; }
.cs-img-rounded {
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
    .cs-split { flex-direction: row; gap: 5rem; }
    .cs-split-reverse { flex-direction: row-reverse; }
    .cs-text, .cs-image-wrap { width: 50%; }
}

/* --- 4. REDESIGNED "STEPS" CARDS --- */
.cs-steps-grid {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cs-step-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-left: 5px solid var(--primary); /* Color accent */
    padding: 1.25rem;
    border-radius: 0.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cs-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cs-step-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e5e7eb; /* Subtle number */
    line-height: 1;
}

.cs-step-title {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.cs-step-text {
    margin: 0;
    font-size: 0.95rem;
    color: #6b7280;
}

/* --- 5. RESULTS & GRAPH (Light Theme) --- */
.cs-results-light {
    background-color: #f9fafb; /* Very light gray background */
}

.cs-graph-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.cs-graph-container {
    width: 100%;
    max-width: 500px;
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 1rem;
    gap: 1rem;
}

.cs-graph-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    width: 35%;
}

.cs-bar-track {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    /* Optional: subtle background track
    background: #e5e7eb;
    border-radius: 8px 8px 0 0; */
}

.cs-bar {
    width: 100%;
    height: 0; /* Initial state for animation */
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: height 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-bar-old {
    background-color: #d1d5db; /* Gray for "Before" */
}

.cs-bar-new {
    background-color: var(--primary); /* Primary for "After" */
    box-shadow: 0 10px 15px -3px rgba(255, 87, 34, 0.3);
}

.cs-bar-val {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

.cs-graph-label {
    margin-top: 1rem;
    font-weight: 600;
    color: #6b7280;
}

.cs-graph-arrow {
    height: 60px;
    display: flex;
    align-items: center;
    opacity: 0.3;
}

/* --- 6. TESTIMONIAL BOX & BUTTON --- */
.cs-quote-box {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 3rem 2rem 4rem; /* Extra bottom padding for button */
    border-radius: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.cs-quote-text {
    font-size: 1.25rem;
    line-height: 1.7;
    font-style: italic;
    color: #374151;
    margin-bottom: 2rem;
}

/* Floating CTA Button */
.cs-quote-cta {
    position: absolute;
    bottom: -1.5rem; /* Half hanging out */
    right: 2rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    box-shadow: 0 10px 15px rgba(255, 87, 34, 0.3);
    animation: floatBtn 3s ease-in-out infinite;
}

@keyframes floatBtn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.font-bold { font-weight: 700; }
.cs-number-style{
    font-size: 3em;
    margin: auto;
    font-weight: 800;
    color: var(--secondary);
}

/*ANIMATION*/
/* Initial State */
.cs-step-card {
    opacity: 0;
    transform: translateY(80px); /* Starts 20px higher */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform; /* Optimization for smoother rendering */
}

/* Final State (Triggered by JS) */
.cs-step-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    .cs-step-card {
        transition: none;
        opacity: 1;
        transform: none;
    }
}




/* =========================================
   DYNAMIC HERO VARIABLES & BASE
   ========================================= */
.hero-dynamic {
    --hd-bg: #ffffff;
    --hd-text: #111827;
    --hd-text-muted: #6b7280;
    --hd-primary: #ff5722;      /* Your Brand Orange */
    --hd-accent: #2196f3;       /* Your Brand Blue */
    --hd-surface: #ffffff;
    --hd-border: #e5e7eb;

    position: relative;
    padding: 10rem 0 6rem 0;
    overflow: hidden;
    background-color: var(--hd-bg);
}

/* --- 1. Background Mesh --- */
.hero-mesh-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    opacity: 0.6;
}

.mesh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: orb-float 15s infinite ease-in-out;
}

.orb-1 {
    width: 60vh;
    height: 60vh;
    background: radial-gradient(circle, #ffccbc, transparent);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 50vh;
    height: 50vh;
    background: radial-gradient(circle, #bbdefb, transparent);
    bottom: -10%;
    left: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 30vh;
    height: 30vh;
    background: radial-gradient(circle, #e1bee7, transparent);
    top: 40%;
    left: 40%;
    animation-delay: -8s;
}

@keyframes orb-float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* --- 2. Layout & Content --- */
.hero-container-flex {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

@media (min-width: 992px) {
    .hero-container-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }
}

.hero-content-wrapper {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

@media (min-width: 992px) {
    .hero-content-wrapper { text-align: left; }
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hd-text-muted);
    margin-bottom: 24px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

/* Typography */
.display-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--hd-text);
    margin: 0 0 24px 0;
    letter-spacing: -0.03em;
}

.marker-wrap {
    position: relative;
    display: inline-block;
    color: var(--hd-primary);
}

.marker-svg {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 10px;
    z-index: -1;
    overflow: visible;
}

.marker-svg path {
    fill: #fff;
    /*stroke: #ffccbc;*/
    stroke: var(--hd-accent);
    stroke-width: 8px;
    stroke-linecap: round;
    /*opacity: 0.6;*/
}

.hero-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--hd-text-muted);
    margin-bottom: 40px;
}

/* Actions */
.action-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
}

@media (min-width: 500px) {
    .action-row {
        flex-direction: row;
        justify-content: center;
    }
}
@media (min-width: 992px) {
    .action-row { justify-content: flex-start; }
}

.btn-glow {
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.4);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
}

.icon-arrow { width: 18px; height: 18px; margin-left: 8px; }

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--hd-text);
    transition: color 0.2s;
}

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

.play-icon {
    width: 30px;
    height: 30px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--hd-text);
}

/* Ticker */
.trust-ticker-wrapper {
    border-top: 1px solid var(--hd-border);
    padding-top: 24px;
    width: 100%;
    overflow: hidden;
}

.ticker-label {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 12px;
    font-weight: 500;
}

.ticker-mask {
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
/* Update this specific class in your CSS */
.ticker-track {
    /* 1. Define the gap in a variable so it stays consistent */
    --ticker-gap: 40px;

    display: flex;
    align-items: center;

    /* 2. Use the variable for the gap */
    gap: var(--ticker-gap);

    width: max-content;

    /* 3. PERFORMANCE: Promotes this element to its own layer to prevent jitter */
    will-change: transform;

    /* 4. THE FIX: Add padding-right equal to the gap.
       This makes the total width perfectly symmetrical for the -50% calculation. */
    padding-right: var(--ticker-gap);

    /* Slower speed (30s) usually looks smoother for this amount of content */
    animation: scroll-ticker 30s linear infinite;
}

/* Optional: Pause on hover for better UX */
.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.3s;
    filter: grayscale(1);
}

.ticker-item:hover { opacity: 1; filter: grayscale(0); }

.ticker-item img { height: 26px; width: auto; }

.ticker-item.text-item {
    font-weight: 800;
    font-size: 1.1rem;
    color: #374151;
    letter-spacing: -0.5px;
}

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- 3. Right Side: REALISTIC DEVICE --- */
.hero-visual-dynamic {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

/* Mockup Base */
.phone-mockup {
    width: 265px;
    height: 530px;
    background: #1f2937;
    border-radius: 36px;
    box-shadow:
            0 0 0 4px #374151,
            0 0 0 8px #111827,
            0 30px 60px -10px rgba(0,0,0,0.4),
            inset 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
    z-index: 5;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    padding: 10px;
}

.phone-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

/* Hardware Buttons */
.phone-btn {
    position: absolute;
    background: #111827;
    border-radius: 4px 0 0 4px;
    left: -10px;
}
.btn-vol-up { top: 90px; width: 4px; height: 35px; }
.btn-vol-down { top: 135px; width: 4px; height: 35px; }
.btn-power {
    left: auto; right: -10px; top: 110px; width: 4px; height: 50px;
    border-radius: 0 4px 4px 0;
}

/* Dynamic Island */
.phone-island {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.camera-dot { width: 8px; height: 8px; background: #1a1a1a; border-radius: 50%; box-shadow: inset 0 0 2px rgba(255,255,255,0.3); }
.sensor-dot { width: 6px; height: 6px; background: #111; border-radius: 50%; }

/* Glass Reflection */
.phone-reflection {
    position: absolute;
    inset: 10px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 20%, transparent 100%);
    z-index: 15;
    pointer-events: none;
}

/* Screen */
.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 30px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}

/* STATUS BAR */
.phone-status-bar {
    height: 42px;
    padding: 0 11px 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #111827;
    margin-top: 5px;
}

.status-time {
    font-weight: 600;
    font-size: 12px;
    width: 50px;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    width: auto;
    justify-content: flex-end;
}

/* iOS Cellular Bars */
.ios-cellular {
    display: flex;
    align-items: flex-end;
    gap: 1.5px;
    height: 10px;
    width: 16px;
}
.ios-cellular .bar {
    width: 3px;
    background: #111827;
    border-radius: 1px;
}
.ios-cellular .bar:nth-child(1) { height: 35%; }
.ios-cellular .bar:nth-child(2) { height: 55%; }
.ios-cellular .bar:nth-child(3) { height: 75%; }
.ios-cellular .bar:nth-child(4) { height: 100%; }

/* iOS Wifi Fan */
.ios-wifi {
    width: 18px;
    height: 18px;
    color: #111827;
}

/* Battery Icon */
.battery-icon {
    width: 20px;
    height: 10px;
    border: 1px solid #9ca3af;
    border-radius: 3px;
    position: relative;
    padding: 1px;
    display: flex;
    align-items: center;
}
.battery-icon::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 2.5px;
    height: 3px;
    width: 2px;
    background: #9ca3af;
    border-radius: 0 1px 1px 0;
}
.battery-level {
    width: 100%;
    height: 100%;
    background: #34c759; /* Apple Green */
    border-radius: 1px;
}

/* Content Inside Phone */
.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 14px 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
}

.app-avatar {
    width: 32px;
    height: 32px;
    background: var(--hd-primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
}

.app-info { display: flex; flex-direction: column; }
.app-name { font-weight: 700; font-size: 0.85rem; }
.app-status { font-size: 0.65rem; color: #10b981; }

.notification-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 14px;
    flex: 1;
}

.notif-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    animation: notif-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.notif-1 { animation-delay: 1.5s; }
.notif-2 { animation-delay: 2.0s; border-left: 3px solid var(--hd-primary); }
.notif-3 { animation-delay: 2.5s; }

.notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.bg-blue { background: #2196f3; }
.bg-orange { background: #ff5722; }
.bg-green { background: #10b981; }
.notif-icon svg { width: 16px; height: 16px; }

.notif-content { display: flex; flex-direction: column; }
.notif-title { font-size: 0.65rem; color: #6b7280; }
.notif-val { font-size: 0.85rem; font-weight: 700; color: #111827; }
.trend-up { color: #10b981; font-size: 0.75rem; margin-left: 4px; }

/* Phone Graph & Months */
.phone-graph-wrapper {
    margin-top: auto;
    margin-bottom: 15px;
    padding: 0 14px;
    opacity: 0;
    animation: fade-in 1s 3s forwards;
}

.phone-graph {
    height: 80px;
    margin-bottom: 25px;
    overflow: visible;
}

.phone-graph svg {
    overflow: visible;
}

.graph-labels {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #9ca3af;
    padding: 0 5px;
    font-weight: 500;
}

.home-indicator {
    width: 40%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 10px;
    margin: 0 auto 8px auto;
}

/* --- Floating Badges (MASSIVE & SPACED) --- */
.float-badge {
    position: absolute;
    width: 110px;
    height: 110px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    animation: float-badge 6s ease-in-out infinite;
    border: 1px solid rgba(0,0,0,0.03);
}

.float-badge img { width: 64px; height: auto; }

/* Left of phone (Further Out) */
.badge-google {
    top: 50px;
    left: -80px;  /* Spaced further out */
    animation-delay: 0s;
}

/* Right of phone (Further Out) */
.badge-meta {
    bottom: 70px;
    right: -80px; /* Spaced further out */
    animation-delay: 3s;
}

/* --- Animations --- */
@keyframes notif-pop {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes fade-in { to { opacity: 1; } }

/* --- Responsive --- */
@media (max-width: 991px) {
    .hero-dynamic { padding: 8rem 0 5rem 0; }
    .display-title { font-size: 2.25rem; }

    .hero-visual-dynamic {
        height: 550px;
        transform: scale(0.9);
        margin-top: 3rem;
    }

    /* Bring badges back in for mobile */
    .badge-google { left: -20px; top: 40px; }
    .badge-meta { right: -20px; bottom: 80px; }

    .phone-mockup { transform: rotateY(0) rotateX(0); }
}

@media (max-width: 480px) {
    .action-row { width: 100%; }
    /*.btn-large, .btn-link { width: 100%; justify-content: center; }*/
    .btn-link { margin-top: 10px; }

    /* Mobile Scale */
    .phone-mockup { width: 260px; height: 520px; }

    .float-badge { width: 70px; height: 70px; }
    .float-badge img { width: 40px; }

    .badge-google { left: -10px; }
    .badge-meta { right: -10px; }
}
/* =========================================
   RESPONSIVE HERO FIXES
   ========================================= */

/* 1. TABLET & SMALL DESKTOP (Max-width: 1100px)
   Prevents cropping when the screen is just a bit too tight for side-by-side */
@media (max-width: 1100px) {
    .hero-container-flex {
        /* Switch to vertical stacking */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 7rem;
    }


    .hero-content-wrapper {
        max-width: 800px;
        width: 100%;
        /* Center the buttons/ticker content */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .display-title {
        font-size: 3.5rem; /* Slightly smaller heading */
        line-height: 1.2;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .hero-visual-dynamic {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        /* Add margin to separate from text */
        margin-top: 2rem;
        /* Ensure badges don't get cut off on the sides */
        overflow: visible;
    }

    /* Center the trust ticker elements */
    .trust-ticker-wrapper {
        width: 100%;
        max-width: 500px;
        margin-top: 3rem;
    }
}

/* 2. MOBILE (Max-width: 768px)
   Aggressive scaling for phone screens */
@media (max-width: 768px) {
    .status-badge{
        display: none;
    }
    .display-title {
        font-size: 2.5rem; /* Mobile friendly heading */
    }

    .status-badge {
        margin-bottom: 1.5rem;
    }

    .action-row {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .btn-large {
        /*width: 100%;*/
        justify-content: center;
    }

    /* SCALING THE PHONE MOCKUP
       Since CSS art usually uses fixed pixels, we scale the whole wrapper
       instead of changing widths/heights which would break the layout. */
    .hero-visual-dynamic {
        /* Zoom out the phone visual to fit mobile width */
        transform: scale(0.8);
        transform-origin: top center;
        /* Compensate for the empty space created by scaling down */
        margin-bottom: -15%;
    }

    /* Adjust floating badges on mobile so they stay close to phone */
    .float-badge.badge-google {
        left: -10px; /* Pull closer to center */
    }
    .float-badge.badge-meta {
        right: -10px; /* Pull closer to center */
    }
    .hero{
        padding-bottom: 220px;
    }
}

/* 3. SMALL MOBILE (Max-width: 480px) */
@media (max-width: 480px) {
    .display-title {
        font-size: 2rem;
    }

    .hero-visual-dynamic {
        /* Shrink phone even more for small Androids/older iPhones */
        transform: scale(0.65);
        margin-bottom: -30%;
    }

    .ticker-track {
        /* Make ticker animation slightly faster or adjust gap on small screens */
        gap: 2rem;
    }
}

/* 4. OVERFLOW SAFETY
   Ensure the main section hides anything that sticks out (like blurred orbs) */
.hero {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
@media screen and (max-width: 1240px) and (min-width: 1100px) {
    .badge-meta{
        display: none;
    }
}
@media screen and (max-width: 1358px) and (min-width: 1100px) {
    .badge-meta{
        right: -20px !important;
    }
}
 .footer-copy a{transition: 0.25s; font-weight: 600}
.footer-links.footer-contact a, .footer-copy a{
    color: #fff ;
}
.footer-links.footer-contact a:hover, .footer-copy a:hover{
    color: var(--secondary) ;
    transition: 0.3s;
}
.footer{
    padding-bottom: 1rem;
}

/* --- MODAL POPUP STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.7); /* Dark backdrop */
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background-color: #ffffff;
    width: 90%;
    max-width: 450px;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-icon-wrap {
    width: 80px;
    height: 80px;
    background-color: rgba(34, 197, 94, 0.1); /* Green tint */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #10b981; /* Green check */
}

.modal-icon-wrap svg {
    width: 40px;
    height: 40px;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: #111827;
}

.modal-text {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn-close-modal {
    width: 100%;
    background-color: var(--primary); /* Uses your orange */
    color: white;
    padding: 1rem;
    border-radius: 99px;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-close-modal:hover {
    background-color: #e64a19;
    transform: scale(1.02);
}

/* --- BUTTON LOADING STATE --- */
.btn-loading {
    position: relative;
    color: transparent !important; /* Hide text */
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.8s linear infinite;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

@media screen and (max-width: 1200px) {
    .hero-mesh-bg{
        display: none;
    }
}



/*COOKIE BAR*/
/* * Styles inspired by oog.cz
 * Uses --primary (#ff5722) and rounded aesthetic
 */
:root {
    --oog-orange: #ff5722;
    --oog-dark: #1f2933;
    --oog-text: #6b7280;
    --oog-bg: #ffffff;
    --oog-radius: 1.5rem; /* Matches your modal/cards */
}

.oog-cookie-wrapper {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    align-items: flex-end;
    perspective: 1000px;
}

.oog-cookie-card {
    background: var(--oog-bg);
    width: 100%;
    max-width: 400px;
    padding: 24px;
    border-radius: var(--oog-radius);
    /* Deep shadow similar to your modal-content */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0,0,0,0.05);
    animation: oogSlideUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.oog-cookie-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.oog-cookie-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 87, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--oog-orange);
}

.oog-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--oog-dark);
}

.oog-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--oog-text);
    margin: 0 0 20px 0;
}

.oog-text-small {
    font-size: 0.85rem;
    color: var(--oog-text);
    margin: -5px 0 15px 0;
}

.oog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Button Overrides to match your theme */
.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

.oog-link-btn {
    background: none;
    border: none;
    color: var(--oog-text);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    margin-left: auto;
    transition: color 0.2s;
}
.oog-link-btn:hover {
    color: var(--oog-dark);
    text-decoration: underline;
}

/* Toggles List */
.oog-toggles-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.oog-toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.oog-toggle-info {
    display: flex;
    flex-direction: column;
}

.oog-toggle-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--oog-dark);
}
.oog-toggle-info small {
    font-size: 0.75rem;
    color: var(--oog-text);
}

/* Switch UI */
.oog-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.oog-switch input { opacity: 0; width: 0; height: 0; }

.oog-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #e5e7eb;
    transition: .4s;
    border-radius: 34px;
}
.oog-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .oog-slider {
    background-color: var(--oog-orange); /* Your Brand Orange */
}
input:checked + .oog-slider:before {
    transform: translateX(20px);
}
.oog-switch.disabled .oog-slider {
    background-color: #d1d5db;
    cursor: not-allowed;
}

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

/* Mobile */
@media (max-width: 600px) {
    .oog-cookie-wrapper {
        left: 0;
        right: 0;
        bottom: 0;
        /*padding: 16px;*/
    }
    .oog-cookie-card {
        max-width: 100%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .oog-actions {
        justify-content: space-between;
    }
}




 .team {
     background-color: var(--gray-50); /* Light contrast against white sections */
 }

.team-grid {
    display: grid;
    gap: 2rem;
    /* Mobile (Default): 1 column */
    grid-template-columns: 1fr;
}


@media (min-width: 600px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.team-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.12);
}


.team-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 125%; /* Creates a 4:5 Aspect Ratio (Taller than square) */
    overflow: hidden;
    background-color: #e5e7eb;
}

.team-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image {
    transform: scale(1.05); /* Subtle zoom on hover */
}

/* Content Styling */
.team-content {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid var(--gray-100);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #111827;
}

.team-role {
    color: var(--primary); /* Uses your orange brand color */
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    background-color: #f9fafb;
}

.team-email:hover {
    color: var(--primary);
    background-color: rgba(255, 87, 34, 0.1);
}

.team-email .icon {
    width: 16px;
    height: 16px;
    position: relative;
    top: 1px;
}
