/*{
    outline: 1px solid rgba(255, 0, 0, 0.2);
}*/
html {
    scroll-behavior: smooth;
}
body {
    /*font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;*/
    font-family: 'Inter', sans-serif;
    background-color: hsl(240, 10%, 4%);
    color: white;
    overflow-x: hidden;
}

.fullscreen-section {
    min-height: 100vh;
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center; /* optional horizontal centering */
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.60rem;
}
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.red { background: #f87171; }
.yellow { background: #facc15; }
.green { background: #4ade80; }

.rounded-xl {
    border-radius: 0.813rem;
}

.rounded-l {
    border-radius: 0.75rem;
}

.magic-animate {
    background: linear-gradient(90deg, #8b5cf6, #ec4899, #facc15);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow-pulse 2.5s ease-in-out infinite, hue-shift 6s linear infinite;
    position: relative;
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow:
                0 0 4px rgba(139, 92, 246, 0.3),
                0 0 8px rgba(236, 72, 153, 0.3),
                0 0 12px rgba(250, 204, 21, 0.3);
    }
    50% {
        text-shadow:
                0 0 6px rgba(139, 92, 246, 0.6),
                0 0 12px rgba(236, 72, 153, 0.6),
                0 0 18px rgba(250, 204, 21, 0.6);
    }
}

@keyframes hue-shift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}


/*
Navigation part
*/
nav {
    background-color: hsl(240, 10%, 4%, .8);
    backdrop-filter: blur(12px);
}
nav li {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

nav li a{
    color: #cacaca !important;
}
nav li a:hover {
    color: hsl(217 91% 60%) !important;
}

.logo-icon{
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #9333ea);
    color: white;
    flex-shrink: 0;
}

.logo-text {
    font-weight: 600;
}

.btn-gradient {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    border: none;
    transition: 0.3s ease-in-out;
}

.btn-gradient:hover {
    opacity: 0.85;
    text-decoration: none;
    color: white;
}

.text-gradient {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Gradient + subtle bounce effect */
.beta-highlight span {
    background: linear-gradient(135deg, #9333ea, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: bounce 2.5s infinite;
}

.beta-highlight a {
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease-in-out;
}

.beta-highlight a:hover {
    color: #a78bfa;
}

/* Optional glowing underline on hover */
.beta-highlight a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #9333ea, #3b82f6);
    transition: width 0.3s ease-in-out;
}

.beta-highlight a:hover::after {
    width: 100%;
}

/* Bounce keyframes */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}


.btn-start {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
}

.navbar-toggler {
    color: white;
}


/*
Hero section part
*/
.hero-section {
    padding: 8rem 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.2) 0%, rgba(30, 64, 175, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    min-height: 100dvh
}

/* Glow circles */
.glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(50px);
    z-index: 1;
}

.glow-top-left {
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(59, 130, 246, 0.38); /* Blue glow */
}

.glow-bottom-right {
    bottom: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    background: rgba(168, 85, 247, 0.31); /* Purple glow */
}

.text-glow {
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.hero-title {
    /*font-size: 3.75rem;*/
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: hsl(215, 10%, 56%);
}

.text-intent {
    color: #3b82f6;
    font-weight: 500;
}
.text-insight {
    color: #a855f7;
    font-weight: 500;
}
.text-action {
    color: #10b981;
    font-weight: 500;
}

/* Base animated gradient text */
.animated-gradient {
    background: linear-gradient(270deg, #3b82f6, #9333ea, #10b981);
    background-size: 600% 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;

    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

/* Specific words if needed */
.intent-glow  { animation-delay: 0s; }
.insight-glow { animation-delay: 1s; }
.action-glow  { animation-delay: 2s; }

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

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.btn-outline {
    padding: 0.75rem 1.5rem;
    background: #111;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.hero-features {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #4b5563;
}
.hero-features span {
    color: #24c55f
}

/* Outer code container: soft border + shadow */
.code-window-outer {
    background: hsl(217, 33%, 17%, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 100%;
    padding: 1.2rem;
    --tw-backdrop-blur: blur(12px);
}

/* Inner code window: true dark container */
.code-window-inner {
    background: hsl(217, 33%, 17%, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    color: #e5e7eb;
}

/* The rest remains unchanged */
.window-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

pre {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    margin: 0;
    color: #c3c4c4;
}

.comment  { color: #10b981; }
.keyword  { color: #3b82f6; }
.string   { color: #facc15; }
.decorator { color: #a78bfa; }
.cmd      { color: #eab308; font-weight: bold; }

.code-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #cbd5e1;
    align-items: center;
}
.code-footer a {
    text-decoration: none;
    color: #60a5fa;
}

.btn-normal {
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    border: none;
    transition: 0.3s ease-in-out;
    z-index: 99;
}

.btn-normal:hover {
    text-decoration: none;
    border: 1px;
    background-color: hsl(217, 33%, 17%, 1);
    color: hsl(210, 40%, 98%, 1);
}

/*
Ai assistant part
*/
.demo-section {
    background-color: hsl(217, 33%, 17%, 0.2);
    color: white;
    padding: 8rem 0;
    min-height: 100dvh
}

.demo-title {
    font-size: 2.2rem;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.chat-card {
    background-color: #16161a;
    max-width: 856px;
    border: 1px solid rgb(255 255 255 / 0.1);
    overflow: hidden;
    max-height: 700px;
}
.line-spin {
    max-width: 856px;
    background-color: #0b0f1a;
    border-radius: 0.813rem;
    max-height: 800px;
}
.line-spin::before,
.line-spin::after {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 0.813rem;
    background-image: conic-gradient(
            from var(--angle),
            transparent 88%,
            #a570ff,
            #3b82f6,
            #10b981 100%
    );
    animation: spin 12s linear infinite;
}

@keyframes spin {
    0% {
        --angle: 0deg;
    }
    100% {
        --angle: 360deg;
    }
}
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.chat-header{
    background-color: hsl(217, 33%, 17%, 0.5);
}

.chat-body {
    min-height: 418px;
    max-height: 418px;
    overflow: scroll;
}

.chat-header .icon,
.chat-body .icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
}

.bg-dark-subtle {
    background-color: hsl(217, 33%, 17%, 1);
}
.bg-dark-subtle-05 {
    background-color: hsl(217, 33%, 17%, 0.5);
}

.bg-purple {
    background: #9333ea;
}
.text-purple-400{
    color: #c184fc;
}

.chat-body .bubble {
    max-width: 75%;
    word-wrap: break-word;
}

.chat-input input::placeholder {
    color: #888;
}

.analysis {
    max-width: 75%;
}
.text-muted-analysis{
    color: hsl(215, 20%, 65%, 1);
}
.chat-input input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.chat-input input:focus {
    background-color: rgba(255, 255, 255, 0.07);
    color: white;
    box-shadow: none;
    border-color: #8b5cf6;
}

.waveform {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 24px;
    margin: 16px;
    justify-content: center;
    opacity: 0;
    transform: scaleY(0.5);
    pointer-events: none;
    transition: opacity 0.3s ease,
    transform 0.3s ease;
}

.waveform.hidden {
    display: none;
}
.waveform.visible {
    opacity: 1;
    transform: scaleY(1);
}

.waveform .bar {
    width: 4px;
    height: 11px;
    background-color: white;
    animation: pulse 1s infinite ease-in-out;
    border-radius: 2px;
}

.waveform .bar:nth-child(1) { animation-delay: 0s; }
.waveform .bar:nth-child(2) { animation-delay: 0.1s; }
.waveform .bar:nth-child(3) { animation-delay: 0.2s; }
.waveform .bar:nth-child(4) { animation-delay: 0.3s; }
.waveform .bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1.4);
    }
    50% {
        opacity: 1;
        transform: scaleY(3.4);

    }
}

/*
Feature section
*/
.features-section {
    padding: 6rem 0;
    min-height: 100dvh
}

.text-purple {
    color: #c084fc;
}

.feature-card {
    background-color: hsl(240, 10%, 4%, 0.5);
    border: 1px solid hsl(217, 33%, 17%, 0.5);
    transition: 0.3s ease;
}
/*.feature-card:hover {
    border-color: hsl(217, 91%, 60%, 0.5);
    box-shadow: 0 0 10px hsl(217, 91% ,60%, 0.25);
}*/
.text-muted-card {
    color: hsl(215, 10%, 56%);
}
.glow-wrapper {
    background-color: black;
}

.glow-wrapper::before,
.glow-wrapper::after {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 0.813rem;
    background-image: conic-gradient(
            from var(--angle),
            transparent 88%,
            #a570ff,
            #3b82f6,
            #10b981 100%
    );
    animation: spin 12s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;

}

.glow-wrapper:hover::before,
.glow-wrapper:hover::after {
    opacity: 1;
    animation: spin-border 1s linear forwards;
}

@keyframes spin-border {
    0% {
        --angle: 0deg;
    }
    100% {
        --angle: 360deg;
        opacity: 0;
    }
}
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.cta-section {
    background-color: #0d0d0d;
}

.cta-box {
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-light {
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    border: none;
}
.btn-light:hover {
    background-color: rgb(255 255 255 / 54%);
}
.offer {
    max-width: 50rem;
}

/*
Use Case Section
*/

.use-cases-section{
    padding: 8rem 0;
    min-height: 100dvh
}

/*
Footer Section
*/
.footer-section {
    background-color: hsl(217, 33%, 17%, 0.3);
}
.border-border-05 {
    border-top-color: hsl(217, 33%, 17%, 0.5);

}
.border-t {
    border-top-width: 1px;
    border-top-style: solid;
}
.text-muted-foreground{
    color: hsl(215, 10%, 56%)
}

.footer-section a:hover {
    color: #9333ea !important;

}

.text-gradient {
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/*
Contact Section
*/

.contact-section {
    background-color: hsl(240, 0%, 4%, 1);
    min-height: 100dvh
}

.contact-section .card{
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.1);
    background-color: hsl(217, 33%, 17%, 0.3);
    backdrop-filter: blur(12px);
}
.border-border-10 {
    border-color: hsl(217, 33%, 17%, 1);
}

.contact-section input, .contact-section textarea{
    background-color: hsl(217, 33%, 17%, 0.3) !important;
}
.contact-section input:focus, .contact-section textarea:focus {
    outline: 2px solid hsl(217, 91%, 60%, 1);
}

.contact-card {
    background-color: hsl(240, 10%, 4%, 0.5);
    border: 1px solid hsl(217, 33%, 17%, 0.5);
    transition: 0.3s ease;
    padding: 2rem 0rem 2rem 0rem;
}


.why-idiscover-section {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.value-section {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {
    .hide-on-mobile {
        display: none !important;
    }
}