/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Brand Colors */
    --primary: #0F172A;
    /* Deep Navy - Authority */
    --primary-light: #1E293B;
    /* Lighter Navy */
    --accent: #06B6D4;
    /* Cyan/Teal - Refreshing Tech */
    --accent-dark: #0891B2;
    /* Darker Teal for hover */
    --accent-soft: #ECFEFF;
    /* Very light teal for backgrounds */

    /* Functional Colors */
    --bg-body: #F8FAFC;
    /* Ultra-light slate gray */
    --bg-white: #FFFFFF;
    --text-main: #334155;
    /* Slate 700 */
    --text-dark: #0F172A;
    /* Slate 900 */
    --text-light: #64748B;
    /* Slate 500 */
    --border: #E2E8F0;
    /* Slate 200 */

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --glass: rgba(255, 255, 255, 0.9);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-width: 1200px;
    --header-height: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll from full-width elements */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* =========================================
   2. NAVBAR
   ========================================= */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
}

.logo-img {
    height: 85px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 0.5rem 0;
    position: relative;
}

.nav-item:hover {
    color: var(--accent-dark);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-item:hover::after {
    width: 100%;
}

.btn-vat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-soft);
    color: var(--accent-dark);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-vat:hover,
.btn-vat.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.mobile-toggle {
    display: none;
    background: none;
    color: var(--text-dark);
}

/* =========================================
   3. HERO SECTION (REDESIGN - WOW FACTOR - LIGHT)
   ========================================= */
.hero-section {
    position: relative;
    padding: 8rem 1.5rem 6rem;
    text-align: center;
    background: radial-gradient(circle at center top, #F8FAFC 0%, white 100%);
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

/* Background Effects */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.hero-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    /* Slightly reduced for light mode */
    animation: blobFloat 10s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #A5F3FC 0%, transparent 70%);
    /* Soft Cyan */
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #E0E7FF 0%, transparent 70%);
    /* Soft Indigo/Lavender */
    animation-delay: -5s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, 40px) scale(1.1);
    }
}

.hero-container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
    position: relative;
    z-index: 2;
}

/* Badge */
.hero-badge-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.05);
    /* Very subtle dark border */
    padding: 0.6rem 1.25rem;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-dark);
    /* Darker accent for readability */
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    animation: fadeInUp 0.8s ease-out;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Typography */
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-dark);
    /* Dark text for light mode */
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.text-gradient-animated {
    background: linear-gradient(to right, var(--accent-dark) 20%, #4F46E5 40%, var(--accent-dark) 60%, #4F46E5 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    /* Standard slate text */
    margin-bottom: 3.5rem;
    max-width: 650px;
    margin-left: 0;
    margin-right: 0;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Buttons */
.hero-cta-group-dual {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.btn-hero-google,
.btn-hero-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem 0.75rem 1rem;
    /* Adjusted for layout */
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 260px;
    position: relative;
    overflow: hidden;
}

/* Google Button Style - Light Mode */
.btn-hero-google {
    background: white;
    border: 1px solid var(--border);
    color: var(--text-dark);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.btn-hero-google:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-hero-google .btn-icon-box {
    color: #4285F4;
    background: #F8FAFC;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.btn-hero-google:hover .btn-icon-box {
    background: white;
}

/* Social Button Style - Light Mode */
.btn-hero-social {
    background: white;
    border: 1px solid var(--border);
    color: var(--text-dark);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.btn-hero-social:hover {
    border-color: #E1306C;
    /* Instagram Pink Border on hover */
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-hero-social .btn-icon-box {
    color: #E1306C;
    background: #F8FAFC;
    /* Light gray bg for icon */
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.btn-hero-social:hover .btn-icon-box {
    background: white;
}

.btn-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.btn-label {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
}

.btn-sub {
    font-size: 0.8rem;
    color: var(--text-light);
    /* Lighter text for subtitle */
    font-weight: 500;
}

.btn-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--accent);
}

.btn-hero-google:hover .btn-arrow,
.btn-hero-social:hover .btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Trust Points */
.trust-points {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    color: var(--text-light);
    /* Darker text for visibility */
    font-size: 0.9rem;
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Illustration Custom Styles */
.hero-illustration {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    top: 5%;
    right: 5%;
    animation: floatOrb 8s infinite alternate ease-in-out;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    bottom: 5%;
    left: 10%;
    animation: floatOrb 10s infinite alternate-reverse ease-in-out;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, -30px);
    }
}

.illustration-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border-radius: 24px;
    z-index: 1;
}

.main-card {
    width: 100%;
    max-width: 480px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: floatMain 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes floatMain {

    0%,
    100% {
        transform: translateY(0) rotateX(2deg) rotateY(-2deg);
    }

    50% {
        transform: translateY(-15px) rotateX(-2deg) rotateY(2deg);
    }
}

.card-header-sk {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-avatar {
    width: 48px;
    height: 48px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.company-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.rating-score {
    font-weight: 800;
    color: var(--text-dark);
}

.stars-container {
    display: flex;
    gap: 0.15rem;
}

.review-count {
    color: var(--text-light);
}

.chart-container {
    position: relative;
    width: 100%;
    height: 180px;
}

.growth-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.chart-point {
    transform: scale(0);
    transform-origin: center;
}

.p1 {
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 1s;
}

.p2 {
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 2s;
}

.p3 {
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 3s;
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

.chart-tooltip {
    position: absolute;
    background: var(--primary-light);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    box-shadow: var(--shadow-md);
    pointer-events: none;
    z-index: 10;
}

.chart-tooltip::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: var(--primary-light);
}

.tooltip-1 {
    top: 50px;
    left: 200px;
    animation: tooltipFade 0.5s ease-out forwards 2.3s;
}

.tooltip-2 {
    top: -20px;
    right: -20px;
    background: var(--accent-dark);
    animation: tooltipFade 0.5s ease-out forwards 3.3s;
}

.tooltip-2::after {
    background: var(--accent-dark);
}

@keyframes tooltipFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-card {
    position: absolute;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.1);
}

.review-card {
    bottom: 20px;
    right: -20px;
    width: 240px;
    animation: floatOpposite 5s ease-in-out infinite 1s;
    background: rgba(255, 255, 255, 0.85);
}

.reviewer-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.guide-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.review-text {
    flex-grow: 1;
}

.stars-mini {
    display: flex;
    gap: 0.1rem;
    margin-bottom: 0.4rem;
}

.review-line {
    height: 6px;
    border-radius: 3px;
    background: var(--border);
}

.l1 {
    width: 100%;
    margin-bottom: 0.4rem;
}

.l2 {
    width: 60%;
}

.rank-card {
    top: 40px;
    left: -30px;
    animation: floatMain 4s ease-in-out infinite 0.5s;
    background: rgba(255, 255, 255, 0.85);
}

.rank-icon {
    width: 40px;
    height: 40px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rank-info {
    display: flex;
    flex-direction: column;
}

.rank-title {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.rank-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
}

@keyframes floatOpposite {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(15px) rotate(2deg);
    }
}

/* General Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments for Hero */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group-dual {
        justify-content: center;
    }

    .trust-points {
        justify-content: center;
    }

    .hero-illustration {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        height: auto;
        min-height: 480px;
        transform: none;
    }

    .review-card {
        right: 0;
        bottom: 10px;
        z-index: 5;
    }

    .rank-card {
        left: 0;
        top: 20px;
        z-index: 5;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta-group-dual {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-google,
    .btn-hero-social {
        width: 100%;
        min-width: auto;
    }

    .hero-illustration {
        min-height: 400px;
        transform: none;
    }

    .main-card {
        padding: 1.5rem;
    }

    .company-name {
        font-size: 1rem;
    }

    .company-avatar {
        width: 40px;
        height: 40px;
    }

    .chart-container {
        height: 140px;
    }

    .review-card {
        width: 200px;
        padding: 0.75rem;
        right: 0px;
        bottom: -10px;
    }

    .rank-card {
        padding: 0.75rem;
        left: 0px;
        top: 0px;
    }

    .rank-icon {
        width: 32px;
        height: 32px;
    }

    .rank-title {
        font-size: 0.7rem;
    }

    .rank-value {
        font-size: 0.9rem;
    }

    .reviewer-avatar {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 6rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-illustration {
        transform: scale(0.95);
        transform-origin: top center;
        min-height: 380px;
    }

    .review-card {
        right: -5px;
        width: 180px;
    }

    .orb-1,
    .orb-2 {
        display: none;
    }
}

/* =========================================
   4. GENERAL SECTIONS
   ========================================= */
.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 5;
}

/* Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 99px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.2s;
}

.visible .reveal-badge {
    opacity: 1;
    transform: scale(1);
}

/* Typography Gradient */
.reveal-text {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
    transition-delay: 0.3s;
}

.visible .reveal-text {
    opacity: 1;
    transform: translateY(0);
}

/* Dynamic Line */
.header-line {
    width: 0;
    height: 4px;
    background: var(--accent);
    margin: 0.5rem auto 1.5rem;
    border-radius: 2px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.5s;
}

.visible .header-line {
    width: 80px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease-out;
    transition-delay: 0.6s;
}

.visible .section-desc {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   5. SELECTION INTERFACE (New Flow)
   ========================================= */
.selection-interface {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.selection-step {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* --- Step 1: Platform Grid --- */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.platform-card-btn {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.platform-card-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.platform-card-btn.active {
    border-color: var(--accent);
    background: linear-gradient(180deg, white 0%, var(--accent-soft) 100%);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: #F1F5F9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.platform-card-btn.active .icon-box {
    background: var(--accent);
    color: white;
}

.platform-name {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-dark);
}

/* --- Step 2: Service Pills --- */
.service-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.service-pill {
    background: #F8FAFC;
    border: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    font-size: 0.95rem;
}

.service-pill:hover {
    background: white;
    border-color: var(--accent);
    color: var(--accent-dark);
    transform: translateY(-2px);
}

.service-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

/* --- Step 3: Detail Card (Premium & Dynamic) --- */
.detail-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 20px 50px -12px rgba(15, 23, 42, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* Platform Themes - Injected via JS class */
.detail-card.theme-google {
    --theme-color: #4285F4;
    --theme-bg: rgba(66, 133, 244, 0.03);
}

.detail-card.theme-instagram {
    --theme-color: #E1306C;
    --theme-bg: rgba(225, 48, 108, 0.03);
}

.detail-card.theme-youtube {
    --theme-color: #FF0000;
    --theme-bg: rgba(255, 0, 0, 0.03);
}

.detail-card.theme-apple {
    --theme-color: #000000;
    --theme-bg: rgba(0, 0, 0, 0.03);
}

.detail-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--theme-bg, transparent) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    transition: background 0.5s ease;
}

.detail-body {
    display: contents;
}

/* Left Side: Quantity Control */
.slider-param-area {
    padding: 3rem;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center content */
}

.detail-header {
    grid-column: 1 / -1;
    padding: 2rem 3rem 0;
}

.detail-header h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.detail-param-desc {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 80%;
}

.slider-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: block;
    text-align: center;
    font-size: 1.125rem;
}

.quantity-control-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.btn-quantity {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: white;
    border: 2px solid var(--border);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-quantity:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-quantity:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #F1F5F9;
    border-color: transparent;
}

.slider-value-display {
    text-align: center;
    min-width: 120px;
}

.value-text {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -3px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.value-text.pulse {
    animation: textPop 0.4s ease-out;
}

@keyframes textPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        color: var(--accent);
    }

    100% {
        transform: scale(1);
    }
}

.unit-text {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 700;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Slider styles fully replaced by quantity control */

/* Right Side: Summary */
.detail-summary-area {
    padding: 3rem;
    background: #F8FAFC;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* =========================================
   6. HOW IT WORKS (Process Steps)
   ========================================= */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-soft);
    line-height: 1;
    margin-bottom: 1rem;
    font-variant-numeric: tabular-nums;
    -webkit-text-stroke: 1px var(--accent);
    opacity: 0.5;
    transition: var(--transition);
}

.step-item:hover .step-number {
    opacity: 1;
    color: var(--accent);
    -webkit-text-stroke: 0px;
}

.step-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Connecting line for desktop */
.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(to right,
            var(--border) 0,
            var(--border) 10px,
            transparent 10px,
            transparent 20px);
    z-index: -1;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-steps::before {
        display: none;
    }
}

/* =========================================
   7. FEATURE GRID (Why Us / Trust)
   ========================================= */
.feature-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-box:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
    transform: translateY(-4px);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-box:hover .feature-icon-wrapper {
    background: var(--accent);
    color: white;
    transform: rotate(-10deg);
}

.feature-box h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .feature-grid-large {
        grid-template-columns: 1fr;
    }

    .feature-box {
        padding: 1.5rem;
    }
}

/* =========================================
   8. INFO CARDS (Platform Importance)
   ========================================= */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.info-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border);
    transition: var(--transition);
}

/* Specific Platform Colors */
.info-card.instagram-card:hover::before {
    background: #E1306C;
}

.info-card.youtube-card:hover::before {
    background: #FF0000;
}

.info-card.apple-card:hover::before {
    background: #000000;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    background: #F8FAFC;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.info-card:hover .card-icon {
    transform: scale(1.1);
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.detail-features {
    margin-bottom: 2rem;
}

.detail-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.detail-features li svg {
    color: var(--accent);
}

.price-action-box {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.price-display {
    margin-bottom: 1.5rem;
}

.price-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.price-value {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--text-dark);
    display: inline-block;
    transition: color 0.3s ease;
}

.price-value.highlight {
    color: var(--accent);
}

.vat-tag {
    font-size: 0.75rem;
    background: #F1F5F9;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-light);
    margin-left: 0.5rem;
    vertical-align: middle;
}

.btn-buy-now {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.btn-buy-now:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 900px) {
    .detail-card {
        grid-template-columns: 1fr;
    }

    .slider-param-area {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 2rem;
    }

    .detail-summary-area {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .platform-card-btn {
        flex-direction: row;
        padding: 1rem 1.5rem;
        text-align: left;
    }

    .icon-box {
        width: 48px;
        height: 48px;
    }

    .detail-header {
        padding: 2rem 1.5rem 0;
    }
}

/* =========================================
   7. ABOUT SECTION
   ========================================= */
.about-section {
    background: var(--primary);
    color: white;
    border-radius: 0 0 24px 24px;
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.about-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.lead-text {
    font-size: 1.125rem;
    color: #CBD5E1;
    margin-bottom: 2rem;
}

.value-props {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.icon-check {
    color: var(--accent);
}

.about-visual {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
}

.image-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* =========================================
   8. CTA & CONTACT
   ========================================= */
/* =========================================
   8. CTA & CONTACT (IMPROVED SERVICES SECTION)
   ========================================= */

/* Relative Container for Background Effects */
.relative-container {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.section-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.service-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    animation: blobFloat 8s infinite alternate;
}

.blob-left {
    top: 10%;
    left: -100px;
    background: radial-gradient(circle, #E0E7FF 0%, transparent 70%);
}

.blob-right {
    bottom: 10%;
    right: -100px;
    background: radial-gradient(circle, #ECFEFF 0%, transparent 70%);
    animation-delay: -4s;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
}


.services-cta-section {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 1.5rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
    perspective: 1000px;
    /* Enable 3D perspective */
}

.cta-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: transform 0.1s ease-out, box-shadow 0.4s ease;
    /* Fast transform for tilt */
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    /* Essential for 3D children */
    will-change: transform;
}

/* Glare Effect */
.card-glare {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 80%);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
    mix-blend-mode: overlay;
    z-index: 10;
}

.cta-card:hover .card-glare {
    opacity: 0.15;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.cta-card:hover {
    /* Transform is handled by JS for tilt, but we keep a lift for fallback/initial */
    box-shadow:
        0 30px 40px -10px rgba(0, 0, 0, 0.12),
        /* Deeper shadow */
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px var(--accent-dark);
    border-color: transparent;
}

.cta-card:hover::before {
    opacity: 1;
}

.cta-card-content {
    padding: 3rem 2.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    transform: translateZ(40px);
    /* Lift content off the card */
}

/* Icon Design */
.cta-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Floating Animation */
    animation: floatIcon 6s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.cta-icon {
    width: 64px;
    height: 64px;
    background: white;
    /* Fallback */
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    z-index: 2;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    transform: translateZ(20px);
    /* 3D pop */
}

.cta-card:hover .cta-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.3);
    /* Accent shadow */
    border-color: var(--accent);
}

.icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 2px dashed var(--border);
    animation: rotate-slow 20s linear infinite;
    z-index: 1;
    transition: all 0.4s ease;
}

.cta-card:hover .icon-ring {
    border-color: var(--accent-soft);
    transform: scale(1.2);
}

/* Typography */
.cta-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.cta-card p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    flex-grow: 1;
    /* Push button down */
}

/* Action Button */
.btn-service-action {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-service-action:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
    gap: 1rem;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-service-action svg {
    transition: transform 0.3s ease;
}

.btn-service-action:hover svg {
    transform: translateX(4px);
}

/* Restored Utility Button */
.btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .services-cta-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-card-content {
        padding: 2rem;
    }
}

/* =========================================
   9. WHY US SECTION
   ========================================= */
.why-us-section {
    background: white;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.why-us-items-left,
.why-us-items-right {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.why-us-items-left {
    text-align: right;
}

.why-us-items-left .why-us-item {
    flex-direction: row-reverse;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
}

.why-us-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: var(--transition);
}

.why-us-item:hover .why-us-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.why-us-text h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.why-us-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 300px;
}

.why-us-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.logo-circle {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border: 1px solid var(--border);
    border-radius: 50%;
    border-style: dashed;
    animation: rotate-slow 60s linear infinite;
    pointer-events: none;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .why-us-logo-center {
        display: none;
    }

    .why-us-items-left {
        text-align: left;
    }

    .why-us-items-left .why-us-item {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-us-items-left,
    .why-us-items-right {
        gap: 2rem;
    }
}



/* =========================================
   9. FAQ & BLOG
   ========================================= */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--text-dark);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--accent);
}

.faq-item details[open] summary::after {
    content: '-';
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.blog-visual {
    height: 220px;
    background-color: #f1f5f9;
    overflow: hidden;
}

.blog-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-visual img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.875rem;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.read-more {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-dark);
    gap: 0.75rem;
}

/* Home Blog Preview Specifics */
.blog-preview-section {
    background: white;
}

.blog-preview-footer {
    margin-top: 4rem;
    text-align: center;
}

/* =========================================
   10. FOOTER
   ========================================= */
.main-footer {
    background: white;
    border-top: 1px solid var(--border);
    padding: 4rem 1.5rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    display: block;
    margin-bottom: 1rem;
}

.brand-col p {
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col h5 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.contact-col p,
.contact-col address {
    font-style: normal;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* =========================================
   11. MEDIA QUERIES
   ========================================= */
@media (max-width: 1024px) {
    .social-interface {
        grid-template-columns: 200px 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .social-interface {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .platform-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 1rem;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.75rem;
        scroll-snap-type: x mandatory;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

    .platform-sidebar::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .platform-btn {
        white-space: nowrap;
        width: auto;
        flex-shrink: 0;
        margin-bottom: 0;
        scroll-snap-align: center;
        border: 1px solid var(--border);
    }

    .platform-btn.active {
        border-color: var(--primary);
    }

    /* Mobile Tabs Optimization */
    .tabs-header {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        scroll-snap-type: x mandatory;
    }

    .tabs-header::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
        scroll-snap-align: center;
    }

    .price-grid-container {
        grid-template-columns: 1fr;
        /* Single column on mobile for better focus */
        gap: 2rem;
    }

    /* Sub-tabs horizontal scroll improvement */
    .sub-tabs {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        scrollbar-width: none;
    }

    .sub-tabs::-webkit-scrollbar {
        display: none;
    }

    .sub-tabs {
        scroll-snap-type: x mandatory;
    }

    .sub-tab-btn {
        scroll-snap-align: start;
    }

    /* Typography Polish for Mobile */
    .section-header h2 {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn-primary {
        padding: 0.875rem 1.5rem;
        width: 100%;
        justify-content: center;
    }

    .about-grid,
    .services-cta-section,
    .split-section,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        order: -1;
    }
}

/* =========================================
   CAROUSEL SECTION
   ========================================= */
.carousel-section {
    perspective: 1000px;
    overflow: hidden;
    padding-bottom: 8rem;
    background: radial-gradient(circle at center, #F8FAFC 0%, #F1F5F9 100%);
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-scene {
    width: 300px;
    height: 400px;
    position: relative;
    perspective: 1000px;
    margin-bottom: 3rem;
}

/* 
 * 3D Carousel Logic 
 * We rotate the entire track. Cards are arranged in a circle.
 */
.carousel-track {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.carousel-card {
    position: absolute;
    width: 300px;
    height: 400px;
    left: 0;
    top: 0;
    border-radius: 24px;
    background: white;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    backface-visibility: hidden;
    /* Or visible depending on desired look */
    /* We use JS to apply transform: rotateY(deg) translateZ(radius) */
    opacity: 0.9;
    transition: opacity 0.5s, box-shadow 0.3s;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-card.active {
    opacity: 1;
    box-shadow:
        0 30px 60px rgba(6, 182, 212, 0.15),
        0 0 0 2px var(--accent);
    z-index: 10;
}

.card-content {
    padding: 2.5rem;
    pointer-events: none;
    /* Let clicks pass through if needed for drag */
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.1);
}

.carousel-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.carousel-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 20;
}

.carousel-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.carousel-indicators {
    display: flex;
    gap: 0.75rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s;
    cursor: pointer;
}

.indicator.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* Responsive Stacked Deck Effect */
@media (max-width: 768px) {
    .carousel-scene {
        width: 100%;
        height: 420px;
        /* Fixed height for stack */
        perspective: 1000px;
        overflow: visible;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carousel-track {
        position: relative;
        width: 300px;
        height: 400px;
        transform-style: preserve-3d;
        transition: transform 0.3s ease-out;
        /* Faster for touch response */
        display: block;
        /* Reset flex */
        padding: 0;
        overflow: visible;
        transform: none !important;
        /* Disable 3D ring rotation */
    }

    .carousel-card {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        opacity: 0;
        transform-origin: center bottom;
        transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        pointer-events: none;
        /* Only top card interactive */
        z-index: 1;
        /* Reset desktop transforms */
        transform: translateZ(0) scale(0.9);
    }

    /* Deck States (Managed by JS) */
    .carousel-card.deck-front {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        z-index: 10;
        pointer-events: auto;
        box-shadow: 0 20px 50px rgba(6, 182, 212, 0.2);
    }

    .carousel-card.deck-next {
        opacity: 1;
        transform: translate3d(0, 20px, -40px) scale(0.95);
        z-index: 9;
    }

    .carousel-card.deck-next-2 {
        opacity: 1;
        transform: translate3d(0, 40px, -80px) scale(0.9);
        z-index: 8;
    }

    /* Ensure other cards are hidden/behind */
    .carousel-card.deck-hidden {
        opacity: 0;
        transform: translate3d(0, 60px, -120px) scale(0.85);
        z-index: 0;
    }

    .carousel-controls {
        display: none;
        /* Hide controls on mobile */
    }
}

/* Optimization for Desktop Smoothness */
@media (min-width: 769px) {
    .carousel-track {
        /* Smoother continuous rotation */
        transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
        will-change: transform;
    }

    .carousel-card {
        will-change: transform, opacity;
        /* Ensure distinct separation */
        backface-visibility: hidden;
    }

    /* Ensure deck classes don't interfere on desktop if resized */
    .carousel-card.deck-front,
    .carousel-card.deck-next,
    .carousel-card.deck-next-2,
    .carousel-card.deck-hidden {
        opacity: 0.9;
        /* Default desktop opacity */
        /* Transforms are handled by JS inline styles on desktop */
    }

    .carousel-card.active {
        opacity: 1;
    }
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */
/* =========================================
   9. CONTACT PAGE STYLES (v2)
   ========================================= */
.contact-hero {
    padding: 10rem 1.5rem 6rem;
    text-align: center;
    background: radial-gradient(circle at center top, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.contact-hero .hero-badge {
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    line-height: 1;
}

.contact-hero p {
    font-size: 1.25rem;
    color: #94A3B8;
    max-width: 600px;
    margin: 0 auto;
}

.contact-main-section {
    max-width: var(--container-width);
    margin: -4rem auto 6rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Sidebar & Info Cards */
.contact-sidebar {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3rem;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.sidebar-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.sidebar-header p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-details h3 {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.15rem;
    font-weight: 700;
}

.info-details a,
.info-details p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.map-link {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: var(--accent-dark) !important;
    border-bottom: 1px solid transparent;
}

.map-link:hover {
    border-color: var(--accent-dark);
}

/* FAQ Compact */
.faq-compact {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.faq-compact h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.faq-compact details {
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.faq-compact summary {
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    transition: var(--transition);
}

.faq-compact summary:hover {
    color: var(--accent-dark);
}

.faq-compact summary::after {
    content: '+';
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 400;
}

.faq-compact details[open] summary::after {
    content: '−';
}

.faq-compact p {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Form Wrapper */
.form-wrapper {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.form-header {
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.form-header p {
    color: var(--text-light);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1.25rem;
    background: #F8FAFC;
    border: 2px solid var(--border);
    border-radius: 16px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
    background: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.form-label {
    position: absolute;
    left: 1.25rem;
    top: 1.25rem;
    color: #475569;
    /* Darker slate for better legibility */
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 0.25rem;
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label,
.form-textarea:focus~.form-label,
.form-textarea:not(:placeholder-shown)~.form-label {
    top: -0.6rem;
    left: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-dark);
    background: white;
}

.form-group.full-width {
    grid-column: span 2;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 1.25rem;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.3), 0 0 0 1px var(--accent);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(5px) rotate(-10deg);
}

@media (max-width: 1024px) {
    .contact-hero {
        padding: 8rem 1.5rem 5rem;
    }

    .contact-hero h1 {
        font-size: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-sidebar {
        max-width: 100%;
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .form-wrapper {
        padding: 2.5rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .contact-main-section {
        margin-top: -3rem;
    }
}

/* =========================================
   10. DOXOBA SYSTEM (do.html) COMPONENTS
   ========================================= */
.dox-hero {
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.05), transparent 40%);
    padding: 8rem 1.5rem 6rem;
}

.trident-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.trident-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.trident-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.trident-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.trident-card:hover::before {
    transform: scaleX(1);
}

.trident-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.trident-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.trident-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.trident-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trident-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.trident-feature svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Roadmap / Process */
.roadmap-container {
    position: relative;
    padding: 2rem 0;
}

.roadmap-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
    z-index: 0;
}

.roadmap-step {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.roadmap-content {
    width: 45%;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.roadmap-step:nth-child(even) {
    flex-direction: row-reverse;
}

.roadmap-dot {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--accent-soft);
    margin: 0 2rem;
}

.roadmap-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

/* Feature Grid */
.feature-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.bento-item {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.bento-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.bento-item.large {
    grid-column: span 2;
    background: var(--primary);
    color: white;
}

.bento-item.large h3 {
    color: white;
}

.bento-item.large p {
    color: #94A3B8;
}

@media (max-width: 992px) {
    .trident-grid {
        grid-template-columns: 1fr;
    }

    .feature-bento {
        grid-template-columns: 1fr;
    }

    .bento-item.large {
        grid-column: span 1;
    }

    .roadmap-line {
        left: 2rem;
    }

    .roadmap-step {
        justify-content: flex-start;
        padding-left: 4rem;
    }

    .roadmap-step:nth-child(even) {
        flex-direction: row;
    }

    .roadmap-content {
        width: 100%;
    }

    .roadmap-dot {
        position: absolute;
        left: 2rem;
        margin: 0;
        transform: translateX(-50%);
    }
}

/* =========================================
   9. SERVICE DETAILS SECTION
   ========================================= */
.service-details-section {
    background: white;
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.detail-info-card {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.5rem;
}

.detail-info-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.detail-info-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.importance-box {
    margin-top: auto;
    background: #ECFEFF;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
}

.importance-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--accent-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.importance-text {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}

/* =========================================
   12. WHY US SECTION
   ========================================= */
.why-us-section {
    position: relative;
    padding: 8rem 1.5rem;
    overflow: hidden;
    background: radial-gradient(circle at center, #F8FAFC 0%, #F1F5F9 100%);
    isolation: isolate;
}

.why-us-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 4rem auto 0;
    position: relative;
    z-index: 2;
}

.why-us-items-left,
.why-us-items-right {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
}

.why-us-items-left {
    text-align: right;
    align-items: flex-end;
}

.why-us-items-right {
    text-align: left;
    align-items: flex-start;
}

.why-us-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    max-width: 420px;
    position: relative;
}

.why-us-items-left .why-us-item {
    flex-direction: row-reverse;
}

.why-us-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: white;
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.2);
    z-index: 10;
}

.why-us-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    color: var(--accent-dark);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.9),
        0 4px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.why-us-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.why-us-icon svg {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.why-us-item:hover .why-us-icon {
    transform: rotate(6deg);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.2);
}

.why-us-item:hover .why-us-icon::after {
    opacity: 1;
}

.why-us-item:hover .why-us-icon svg {
    color: white;
    transform: scale(1.1);
}

.why-us-text {
    flex: 1;
}

.why-us-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.why-us-item:hover .why-us-text h3 {
    color: var(--accent-dark);
}

.why-us-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Central Logo Area */
.why-us-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-circle {
    width: 360px;
    height: 360px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow:
        0 0 0 20px rgba(255, 255, 255, 0.5),
        0 0 60px rgba(6, 182, 212, 0.1),
        0 20px 50px rgba(0, 0, 0, 0.05);
    z-index: 10;
    animation: floatLogo 6s ease-in-out infinite;
}

.logo-circle img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
    transition: all 0.5s ease;
}

.logo-circle:hover img {
    transform: scale(1.05) rotate(2deg);
}

.logo-circle::before {
    content: '';
    position: absolute;
    inset: -40px;
    border: 2px dashed rgba(6, 182, 212, 0.2);
    border-radius: 50%;
    animation: spinSlow 30s linear infinite;
}

.logo-circle::after {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(6, 182, 212, 0.1);
    animation: pulseBorder 4s infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseBorder {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .why-us-grid {
        grid-template-columns: 1fr 300px 1fr;
        gap: 2rem;
    }

    .logo-circle {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 992px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        max-width: 600px;
    }

    .why-us-items-left,
    .why-us-items-right {
        order: 2;
        gap: 1.5rem;
        text-align: left;
        align-items: center;
    }

    .why-us-logo-center {
        order: 1;
        margin-bottom: 2rem;
    }

    .why-us-items-left .why-us-item {
        flex-direction: row;
        /* Reset to normal direction */
    }

    .why-us-items-left,
    .why-us-items-right {
        align-items: stretch;
        /* Cards full width */
    }

    .why-us-item {
        max-width: 100%;
    }

    .logo-circle::before {
        display: none;
        /* Hide dashed circle on smaller screens if too busy */
    }
}

/* =========================================
   OTHER SERVICES SECTION (Light Minimalist)
   ========================================= */
.other-services-section {
    position: relative;
    overflow: hidden;
    background: #F8FAFC;
    /* Light Mesh Gradient Background */
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 0) 0, hsla(253, 16%, 7%, 0) 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0) 0, hsla(225, 39%, 30%, 0) 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0) 0, hsla(339, 49%, 30%, 0) 50%);
    color: var(--text-main);
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.other-services-section .reveal-text {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.other-services-section .section-desc {
    color: var(--text-light);
}

/* Removed heavy blobs for minimalism */
.section-background-alt {
    display: none;
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
}

@media (min-width: 1500px) {
    .other-services-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
    }
}

.other-service-card {
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

/* Glass effect removed/minimized for clean white look */
.card-glass-effect {
    display: none;
}

.other-service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-info {
    position: relative;
    z-index: 5;
    /* FIX: Ensure content is clickable */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon-box {
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.other-service-card:hover .service-icon-box {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

.other-service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.other-service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Contact Button Styling - High Contrast & Clickable */
.btn-other-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
    position: relative;
    z-index: 10;
    /* Extra safety for clickability */
}

.btn-other-contact:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .other-services-section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .other-services-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   9. MOBILE MENU & RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        z-index: 1002;
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 6rem 2rem 2rem;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 2rem;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        font-size: 1.5rem;
        font-weight: 700;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-container {
        padding: 0 1rem;
    }

    /* Adjustments for specific sections on Mobile */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .detail-card {
        margin: 0 1rem;
    }

    .quantity-control-container {
        gap: 1rem;
    }

    .btn-quantity {
        width: 48px;
        height: 48px;
    }

    .value-text {
        font-size: 3.5rem;
    }
}