* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.logo-container {
    width: 40px;
    height: 40px;
    perspective: 800px;
    position: relative;
    overflow: visible;
}

.logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    position: relative;
    padding-bottom: 12px; /* reserve space for bottom-right tagline */
}

.logo-tagline {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0.95;
    font-style: italic;
    white-space: nowrap;
    pointer-events: none;
}

.nav-logo:hover .logo-tagline,
.nav-logo.active-hover .logo-tagline {
    opacity: 1;
}

.geodesic-cube {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(25deg) rotateY(45deg) rotateZ(0deg);
    transform-style: preserve-3d;
    animation: initialLoad 2s ease-out forwards, continuousRotate 6s linear infinite 2s;
    transition: animation 0.3s ease;
}

.geodesic-cube.manual-control {
    animation: none !important;
    transition: transform 0.1s ease-out;
}

.geodesic-cube {
    transition: transform 0.8s ease-out;
}

.nav-logo:not(:hover) .geodesic-cube {
    animation: continuousRotate 6s linear infinite;
    transition: animation 0.5s ease;
}

.cube-face {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(100, 255, 218, 0.25);
    border: 2px solid rgba(100, 255, 218, 1);
    top: 50%;
    left: 50%;
    transform-origin: center center;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.4), inset 0 0 10px rgba(100, 255, 218, 0.2);
}

.geodesic-cube > .cube-face.front {
    transform: translate(-50%, -50%) translateZ(10px);
}

.geodesic-cube > .cube-face.back {
    transform: translate(-50%, -50%) translateZ(-10px) rotateY(180deg);
}

.geodesic-cube > .cube-face.left {
    transform: translate(-50%, -50%) translateX(-10px) rotateY(-90deg);
}

.geodesic-cube > .cube-face.right {
    transform: translate(-50%, -50%) translateX(10px) rotateY(90deg);
}

.geodesic-cube > .cube-face.top {
    transform: translate(-50%, -50%) translateY(-10px) rotateX(90deg);
}

.geodesic-cube > .cube-face.bottom {
    transform: translate(-50%, -50%) translateY(10px) rotateX(-90deg);
}

.inner-cube {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    animation: counterRotate 8s linear infinite;
}

.inner-cube .cube-face {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(255, 105, 0, 0.25);
    border: 1px solid rgba(255, 105, 0, 1);
    top: 50%;
    left: 50%;
    transform-origin: center center;
}

.inner-cube .cube-face.front {
    transform: translate(-50%, -50%) translateZ(6px);
}

.inner-cube .cube-face.back {
    transform: translate(-50%, -50%) translateZ(-6px) rotateY(180deg);
}

.inner-cube .cube-face.left {
    transform: translate(-50%, -50%) translateX(-6px) rotateY(-90deg);
}

.inner-cube .cube-face.right {
    transform: translate(-50%, -50%) translateX(6px) rotateY(90deg);
}

.inner-cube .cube-face.top {
    transform: translate(-50%, -50%) translateY(-6px) rotateX(90deg);
}

.inner-cube .cube-face.bottom {
    transform: translate(-50%, -50%) translateY(6px) rotateX(-90deg);
}

.neural-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.node {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #64ffda;
    border-radius: 50%;
    box-shadow: 0 0 6px #64ffda;
    animation: nodePulse 3s ease-in-out infinite;
    top: 50%;
    left: 50%;
    transform-origin: center center;
}

.node1 { transform: translate(-50%, -50%) translate3d(15px, 0, 0); animation-delay: 0s; }
.node2 { transform: translate(-50%, -50%) translate3d(-15px, 0, 0); animation-delay: 0.3s; }
.node3 { transform: translate(-50%, -50%) translate3d(0, 15px, 0); animation-delay: 0.6s; }
.node4 { transform: translate(-50%, -50%) translate3d(0, -15px, 0); animation-delay: 0.9s; }
.node5 { transform: translate(-50%, -50%) translate3d(10px, 10px, 10px); animation-delay: 1.2s; }
.node6 { transform: translate(-50%, -50%) translate3d(-10px, -10px, -10px); animation-delay: 1.5s; }
.node7 { transform: translate(-50%, -50%) translate3d(10px, -10px, 0); animation-delay: 1.8s; }
.node8 { transform: translate(-50%, -50%) translate3d(-10px, 10px, 0); animation-delay: 2.1s; }

.connection-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
}

.line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.6), transparent);
    transform-origin: left center;
    animation: lineGlow 3s ease-in-out infinite;
}

.line1 {
    width: 35px;
    transform: translate3d(0, 0, 0) rotateY(45deg);
    animation-delay: 0s;
}

.line2 {
    width: 35px;
    transform: translate3d(0, 0, 0) rotateY(-45deg);
    animation-delay: 0.5s;
}

.line3 {
    width: 35px;
    transform: translate3d(0, 0, 0) rotateX(45deg);
    animation-delay: 1s;
}

.line4 {
    width: 35px;
    transform: translate3d(0, 0, 0) rotateX(-45deg);
    animation-delay: 1.5s;
}

.line5 {
    width: 42px;
    transform: translate3d(0, 0, 0) rotateZ(45deg) rotateY(45deg);
    animation-delay: 2s;
}

.line6 {
    width: 42px;
    transform: translate3d(0, 0, 0) rotateZ(-45deg) rotateY(-45deg);
    animation-delay: 2.5s;
}


.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    transform-origin: left center;
    position: relative;
    z-index: 100;
    display: inline-block;
    transition: transform 50ms linear;
}

.logo-text .char-span {
    transition: opacity 150ms ease-out;
    display: inline-block;
}

.logo-text .char-lower,
.logo-text .char-upper {
    transition: opacity 200ms ease-in-out;
}

.logo-text .first-word {
    display: inline-block;
    position: relative;
}

/* Apply original gradient to the first character (f) only */
.logo-text .first-word .char-span:first-child .char-lower {
    background: linear-gradient(to right, #667eea, #64ffda, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 4s ease-in-out infinite;
}

.logo-text .first-word .char-span:first-child .char-upper {
    background: linear-gradient(to right, #667eea, #64ffda, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 4s ease-in-out infinite;
}

/* All other characters stay white */
.logo-text .first-word .char-span {
    display: inline-block;
}

.logo-text .first-word .char-lower {
    color: #ffffff;
}

.logo-text .first-word .char-upper {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

/* Remove gradient on hover to show white text, but keep gradient on first character */
.nav-logo:hover .logo-text .first-word,
.nav-logo.active-hover .logo-text .first-word {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    animation: none;
}

.nav-logo:hover .logo-text .first-word .char-span:not(:first-child),
.nav-logo.active-hover .logo-text .first-word .char-span:not(:first-child),
.nav-logo:hover .logo-text .first-word .char-span:not(:first-child) .char-lower,
.nav-logo.active-hover .logo-text .first-word .char-span:not(:first-child) .char-lower {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    animation: none;
}

/* Keep gradient on first character even during hover */
.nav-logo:hover .logo-text .first-word .char-span:first-child .char-lower,
.nav-logo.active-hover .logo-text .first-word .char-span:first-child .char-lower,
.nav-logo:hover .logo-text .first-word .char-span:first-child .char-upper,
.nav-logo.active-hover .logo-text .first-word .char-span:first-child .char-upper {
    background: linear-gradient(to right, #667eea, #64ffda, #ffffff) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: textGlow 4s ease-in-out infinite !important;
}


@keyframes initialLoad {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes continuousRotate {
    0% {
        transform: translate(-50%, -50%) rotateX(25deg) rotateY(45deg) rotateZ(0deg);
    }
    25% {
        transform: translate(-50%, -50%) rotateX(115deg) rotateY(135deg) rotateZ(90deg);
    }
    50% {
        transform: translate(-50%, -50%) rotateX(205deg) rotateY(225deg) rotateZ(180deg);
    }
    75% {
        transform: translate(-50%, -50%) rotateX(295deg) rotateY(315deg) rotateZ(270deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(385deg) rotateY(405deg) rotateZ(360deg);
    }
}

@keyframes counterRotate {
    0% {
        transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(-360deg) rotateY(-360deg) rotateZ(-360deg);
    }
}

@keyframes nodePulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
        box-shadow: 0 0 8px #64ffda;
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
        box-shadow: 0 0 16px #64ffda, 0 0 24px rgba(100, 255, 218, 0.5);
    }
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(100, 255, 218, 0.8);
    }
}

/* Center Pulsing Dot */
.center-pulse {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #64ffda;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    box-shadow: 0 0 10px #64ffda;
    animation: centerPulse 2s ease-in-out infinite;
}

@keyframes centerPulse {
    0%, 100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 10px #64ffda;
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(2);
        box-shadow: 0 0 30px #64ffda, 0 0 60px #64ffda;
    }
}

@keyframes textGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}


.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    opacity: 0.8;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0 7rem;
    text-align: center;
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #b0bec5;
    line-height: 1.6;
}

.business-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.business-icon {
    font-size: 2.5rem;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

.business-icon:nth-child(1) { animation-delay: 0s; }
.business-icon:nth-child(2) { animation-delay: 0.5s; }
.business-icon:nth-child(3) { animation-delay: 1s; }
.business-icon:nth-child(4) { animation-delay: 1.5s; }

.business-icon:hover {
    transform: scale(1.1) translateY(-5px);
    background: rgba(102, 126, 234, 0.2);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

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

/* Hero Emoji Cloud */
.emoji-scroller {
    position: relative;
    overflow: visible; /* allow thought bubbles to render outside track height */
    margin: 1.25rem auto 2.25rem;
    max-width: 1100px;
    z-index: 5;
}

.emoji-scroller::before,
.emoji-scroller::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 160px;
    pointer-events: none;
    z-index: 6;
}

.emoji-scroller::before { left: 0; background: linear-gradient(to right, rgba(102,126,234,0.15), transparent); }
.emoji-scroller::after  { right: 0; background: linear-gradient(to left, rgba(118,75,162,0.15), transparent); }

.emoji-track {
    display: inline-flex;
    align-items: center;
    gap: 12rem;
    animation: emojiMarquee 56s linear infinite;
    will-change: transform;
    position: relative;
    z-index: 7;
}

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

.emoji-scroller:hover .emoji-track {
    animation-play-state: paused;
}

.emoji-bubble {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    z-index: 8;
    transform-origin: center bottom;
    opacity: 0.6;
}

.emoji-bubble .emoji { display: block; line-height: 1; font-size: 4.2rem; }
.emoji-bubble.size-sm .emoji { font-size: 4.2rem; }
.emoji-bubble.size-md .emoji { font-size: 4.2rem; }
.emoji-bubble.size-lg .emoji { font-size: 4.2rem; }

.thought-bubble {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    color: #333;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    min-width: 280px;
    max-width: 360px;
    z-index: 9;
    opacity: 0;
    transition: opacity 320ms ease, transform 320ms ease;
    will-change: opacity, transform;
    pointer-events: none;
}

.thought-bubble::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-bottom: 10px solid white;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.emoji-bubble.active .thought-bubble,
.emoji-bubble:hover .thought-bubble {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    animation: bubbleIn 240ms ease-out both;
}

.emoji-bubble.exit .thought-bubble {
    animation: bubbleExit 280ms ease-in forwards;
}

@keyframes bubbleIn {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.9); }
    55% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1.12); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1.0); }
}

@keyframes bubbleExit {
    0% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1.0); }
    35% { opacity: 0.85; transform: translateX(-50%) translateY(-6px) scale(1.06); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-14px) scale(0.82); }
}

/* Emoji pop-in/out */
.emoji-bubble .emoji { opacity: 0.25; transition: opacity 180ms ease-out; }
.emoji-bubble.active .emoji { opacity: 1; animation: emojiIn 240ms ease-out both; }
.emoji-bubble.exit .emoji { animation: emojiExit 280ms ease-in forwards; }

/* Wrap (pill) pop-in/out to match emoji */
.emoji-bubble.active { animation: wrapIn 240ms ease-out both; opacity: 1; }
.emoji-bubble.exit { animation: wrapExit 280ms ease-in forwards; }

@keyframes emojiIn {
    0% { transform: scale(0.9); }
    55% { transform: scale(1.12); }
    100% { transform: scale(1.0); }
}

@keyframes emojiExit {
    0% { opacity: 1; transform: scale(1.0); }
    60% { opacity: 0.6; transform: scale(0.9); }
    100% { opacity: 0.25; transform: scale(1.0); }
}

@keyframes wrapIn {
    0% { transform: scale(0.94); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
    55% { transform: scale(1.06); box-shadow: 0 12px 28px rgba(0,0,0,0.18); }
    100% { transform: scale(1.0); box-shadow: 0 8px 22px rgba(0,0,0,0.16); }
}

@keyframes wrapExit {
    0% { opacity: 1; transform: scale(1.0); box-shadow: 0 8px 22px rgba(0,0,0,0.16); }
    60% { opacity: 0.8; transform: scale(0.94); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
    100% { opacity: 0.6; transform: scale(1.0); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
}

.thought-bubble h4 {
    color: #667eea;
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.4rem;
}

.thought-bubble ul { list-style: none; margin: 0; padding: 0; }
.thought-bubble li { font-size: 0.92rem; color: #555; padding: 0.35rem 0; }
.thought-bubble li::before { display: none; }

@media (max-width: 640px) {
    .emoji-track { gap: 5rem; }
    .emoji-bubble .emoji,
    .emoji-bubble.size-lg .emoji,
    .emoji-bubble.size-md .emoji,
    .emoji-bubble.size-sm .emoji { font-size: 3.2rem; }
    .thought-bubble { max-width: 280px; }
}

.cta-button {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #ff5252;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 5.5rem 0 4rem; /* a bit more space above the heading */
    background: white;
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2.5rem;
}

.about p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature h3 {
    margin-bottom: 1rem;
    color: #667eea;
    font-size: 1.3rem;
}

/* Services Page */
.services {
    padding: 4rem 0;
    background: white;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #667eea;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card li {
    padding: 0.3rem 0;
    color: #666;
}

.service-card li::before {
    content: "✓ ";
    color: #667eea;
    font-weight: bold;
}

/* Industries */
.industries {
    padding: 4rem 0;
    background: #f8f9fa;
}

.industries h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.business-sizes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.size-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid #667eea;
}

.size-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.industry-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.industry {
    background: white;
    padding: 1rem;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Contact Page */
.contact {
    padding: 4rem 0;
    background: white;
}

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

.contact-info h2 {
    margin-bottom: 1rem;
    color: #333;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    margin-bottom: 2rem;
}

.contact-method h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h2 {
    margin-bottom: 2rem;
    color: #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.submit-button {
    background: #667eea;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: #5a6fd8;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    border: 1px solid #f1b0b7;
}

/* Pricing Page Styles */
.pricing-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f0f23, #1a1a2e);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.pricing-card.featured {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: #64ffda;
    margin-bottom: 1rem;
    text-align: center;
}

.price {
    text-align: center;
    margin-bottom: 1rem;
}

.price .currency {
    font-size: 1.5rem;
    color: #667eea;
    vertical-align: top;
}

.price .amount {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
}

.price .period {
    font-size: 1rem;
    color: #b0bec5;
}

.price-description {
    text-align: center;
    color: #b0bec5;
    margin-bottom: 2rem;
    font-style: italic;
}

.features h4 {
    color: #64ffda;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.features li {
    padding: 0.5rem 0;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.perfect-for {
    background: rgba(100, 255, 218, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.perfect-for h4 {
    color: #64ffda;
    margin-bottom: 0.5rem;
}

.perfect-for p {
    color: #e0e0e0;
    margin: 0;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background: linear-gradient(45deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.pricing-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.guarantee, .custom-solutions {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.guarantee h3, .custom-solutions h3 {
    color: #64ffda;
    margin-bottom: 1rem;
}

.guarantee p, .custom-solutions p {
    color: #e0e0e0;
    margin: 0;
}

.custom-solutions a {
    color: #667eea;
    text-decoration: none;
}

.custom-solutions a:hover {
    color: #64ffda;
}

.pricing-faq {
    padding: 4rem 0;
    background: #0f172a; /* deepen background for contrast */
}

.pricing-faq h2 {
    text-align: center;
    color: #64ffda;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.06);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.35);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.faq-item h4 {
    color: #a5b4fc; /* lighter indigo for readability */
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #e2e8f0;
    margin: 0;
    line-height: 1.65;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    border-color: rgba(102, 126, 234, 0.55);
}

/* FAQ Page Styles */
.faq-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f0f23, #1a1a2e);
}

.faq-category {
    margin-bottom: 4rem;
}

.faq-category h2 {
    text-align: center;
    color: #64ffda;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(100, 255, 218, 0.3);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Spacing between accordion items */
}

.faq-section .faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.faq-section .faq-item:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.faq-section .faq-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.faq-section .faq-item p {
    color: #e0e0e0;
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
}

.faq-cta {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
}

.faq-cta h2 {
    color: #64ffda;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.faq-cta p {
    color: #b0bec5;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.cta-button.secondary:hover {
    background: #667eea;
    color: white;
}

@media (max-width: 768px) {
    .faq-section .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Styles for the new FAQ Accordion */
details.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 6px; /* Tighter radius */
    transition: all 0.3s ease;
    padding: 0;
}

details.faq-item[open] {
    border-color: rgba(102, 126, 234, 0.5);
}

details.faq-item summary {
    padding: 1.2rem;
    padding-right: 3.5rem; /* Add padding to prevent text overlap */
    cursor: pointer;
    font-size: 1.2rem; /* Larger font */
    font-weight: 600;
    color: #667eea;
    list-style: none; /* Remove default marker */
    position: relative;
    outline: none; /* Remove focus ring */
}

details.faq-item summary::-webkit-details-marker {
    display: none; /* Hide marker for Chrome/Safari */
}

details.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem; /* Smaller icon */
    color: #667eea;
    transition: transform 0.3s ease;
}

details.faq-item[open] summary::after {
    content: '−'; /* Use a minus sign for the open state */
    transform: translateY(-50%) rotate(180deg);
}

details.faq-item p {
    padding: 0 1.2rem 1.2rem 1.2rem;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.6;
    font-size: 1rem; /* Larger answer font */
}

/* Consultation CTA */
.consultation-cta {
    padding: 3rem 0;
    background: #f8f9fa;
    text-align: center;
}

.consultation-cta h2 {
    margin-bottom: 1rem;
    color: #333;
}

.consultation-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.benefit {
    color: #667eea;
    font-weight: bold;
}

/* Tag Cloud Section */
.tag-cloud-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.tag-cloud-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.tag-cloud-section > div > p {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.tag {
    position: relative;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    user-select: none;
    z-index: 1;
}

.tag:hover {
    z-index: 9999;
}

.tag.large {
    font-size: 1.4rem;
    padding: 1.2rem 2rem;
}

.tag.medium {
    font-size: 1.1rem;
    padding: 1rem 1.8rem;
}

.tag.small {
    font-size: 0.9rem;
    padding: 0.7rem 1.3rem;
}

.tag:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2, #667eea);
    z-index: 9999;
}

.hover-details {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #333;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    border-top: 3px solid #667eea;
    margin-top: 10px;
}

.tag:hover .hover-details {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.hover-details h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.hover-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hover-details li {
    padding: 0.5rem 0;
    color: #555;
    font-weight: normal;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.hover-details li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.hover-details li:hover {
    color: #333;
    background: #f8f9fa;
    margin: 0 -0.5rem;
    padding-left: 2rem;
    border-radius: 5px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.pricing-approach {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-option {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.pricing-option h3 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0.25rem 0 0.5rem;
}

.footer-nav a {
    color: #b0bec5;
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-contact {
    margin: 0;
    color: #e2e8f0;
}

.footer-contact a {
    color: #e2e8f0;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-location {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-tagline {
    font-size: 0.95rem;
    color: #cfd8dc;
    margin: 0.25rem 0 0;
}

/* Case Studies */
.case-studies {
    padding: 4rem 0;
    background: white;
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.case-study {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border-top: 5px solid #667eea;
}

.case-study.featured {
    border-top: 5px solid #ff6b6b;
    transform: scale(1.02);
}

.case-study-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.company-size {
    color: #666;
    font-size: 0.9rem;
}

.savings-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    min-width: 120px;
}

.savings-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
}

.savings-period {
    font-size: 0.9rem;
    opacity: 0.9;
}

.case-study-content {
    padding: 2rem;
}

.case-study-content h4 {
    color: #333;
    margin: 2rem 0 1rem 0;
    font-size: 1.2rem;
    border-left: 4px solid #667eea;
    padding-left: 1rem;
}

.case-study-content h4:first-child {
    margin-top: 0;
}

.case-study-content ul {
    list-style: none;
    margin: 1rem 0;
}

.case-study-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.case-study-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.result-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #667eea;
}

.result-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.9rem;
    color: #666;
}

.roi-breakdown {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.roi-breakdown h4 {
    color: white;
    border-left: 4px solid rgba(255,255,255,0.5);
    margin-top: 0;
}

.roi-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.roi-item:last-child {
    border-bottom: none;
}

.roi-item.highlight {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 1rem;
    border-bottom: none;
}

/* Disclaimer Section */
.disclaimer-section {
    background: #f8f9fa;
    padding: 3rem 0;
    border-top: 3px solid #ffc107;
}

.disclaimer-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #ffc107;
}

.disclaimer-content h3 {
    color: #d63384;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.disclaimer-content h3::before {
    content: "⚠️";
    font-size: 1.2rem;
}

.disclaimer-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #495057;
    line-height: 1.6;
}

.disclaimer-points {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.disclaimer-point {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid #ffc107;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #856404;
}

.disclaimer-point strong {
    color: #d63384;
    display: block;
    margin-bottom: 0.5rem;
}

.disclaimer-footer {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    font-style: italic;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

/* Calculator CTA */
.calculator-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.calculator-cta h2 {
    text-align: center;
    color: #333;
    margin-bottom: 1rem;
}

.calculator-cta p {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.quick-calculator {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.calc-input {
    margin-bottom: 1.5rem;
}

.calc-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.calc-input input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1.1rem;
}

.calc-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: transform 0.2s ease;
}

.calc-button:hover {
    transform: translateY(-2px);
}

.savings-result {
    text-align: center;
}

.savings-summary {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #28a745;
}

.savings-summary h3 {
    color: #155724;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.savings-summary p {
    color: #155724;
    margin: 0.5rem 0;
    font-weight: bold;
}

.savings-summary small {
    color: #6c757d;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .consultation-benefits {
        flex-direction: column;
        gap: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .tag-cloud {
        padding: 1rem;
    }

    .tag.large {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
    }

    .hover-details {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.5rem;
        min-width: auto;
        width: 100%;
        display: none;
    }

    .tag:hover .hover-details {
        display: block;
        transform: none;
    }

    .case-study-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .quick-calculator {
        margin: 0 1rem;
    }
}
