/* 
   Jeloda Premium Landing Page Styles
   Theme: Titanium Dark (Blue/Black)
   Font: Inter (Google Fonts)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================
   CRITICAL OVERRIDES - Must Stay at Top
   These rules override legacy template CSS
   ======================================== */

/* Force Premium Styles on Main Wrapper */
html,
body {
    overflow-x: hidden !important;
    width: 100%;
}

#main-wrapper,
.page-wrapper {
    font-family: 'Outfit', sans-serif !important;
    overflow-x: hidden !important;
}

#main-wrapper *:not(.fas):not(.far):not(.fab):not(.fa):not(.feature-icon),
.page-wrapper *:not(.fas):not(.far):not(.fab):not(.fa):not(.feature-icon) {
    font-family: 'Outfit', sans-serif !important;
}

/* Specific restoration for icons just in case */
.fas,
.far,
.fab,
.fa,
.feature-icon {
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    /* Ensure solid icons render */
}

/* Override All Headings */
#main-wrapper h1,
#main-wrapper .h1,
#main-wrapper h2,
#main-wrapper .h2,
#main-wrapper h3,
#main-wrapper .h3 {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
}

/* Override All Paragraphs and Text */
#main-wrapper p,
#main-wrapper .lead-text,
#main-wrapper p.lead-text {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
}

/* Specific Hero Section Overrides */
.hero-section,
.hero-section *:not(.fas):not(.far):not(.fab):not(.fa),
.tour-section,
.tour-section *:not(.fas):not(.far):not(.fab):not(.fa) {
    font-family: 'Outfit', sans-serif !important;
}

.hero-section p.lead-text {
    font-size: 2rem !important;
    color: #ffffff !important;
    font-weight: 400 !important;
}

.tour-section h2,
.tour-section .h1 {
    color: #ffffff !important;
}

.tour-section p.lead-text {
    color: #ffffff !important;
    font-size: 1.8rem !important;
}


:root {
    /* --- Palette Titanium --- */
    --bg-deep: #020617;
    /* Slate 950 */
    --bg-card: #0f172a;
    /* Slate 900 */
    --primary: #2563eb;
    /* Blue 600 */
    --primary-glow: #3b82f6;
    /* Blue 500 */
    --accent: #60a5fa;
    /* Blue 400 */
    --text-white: #ffffff;
    --text-dim: #94a3b8;
    /* Slate 400 */

    /* --- Gradients --- */
    --gradient-hero: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    --gradient-text: linear-gradient(to right, #60a5fa, #ffffff);
    --gradient-card: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.4) 100%);

    /* --- Spacing & Borders --- */
    --glass-border: 1px solid rgba(148, 163, 184, 0.1);
    --radius-lg: 24px;
    --radius-xl: 40px;

    /* --- Typography Scale (Restored & Enforced) --- */
    --font-size-h1: clamp(3.5rem, 5vw, 6rem);
    /* Increased */
    --font-size-h2: clamp(2.5rem, 4vw, 4rem);
    --font-size-h3: clamp(1.8rem, 2vw, 2.5rem);
    --font-size-body: 1.25rem;
    /* ~20px */
}

/* Reset basics & Override Legacy */
body {
    background-color: var(--bg-deep) !important;
    color: var(--text-white) !important;
    font-family: 'Outfit', sans-serif !important;
    /* Premium Font */
    line-height: 1.6 !important;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-size: 1.35rem !important;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- Typography --- */

h1,
h2,
h3,
h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: var(--font-size-h1);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 60px rgba(37, 99, 235, 0.3);
}

h2 {
    font-size: var(--font-size-h2);
    color: var(--text-white);
}

p.lead-text {
    font-size: 2rem !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    max-width: 900px;
    margin: 0 auto 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* --- Layout Components --- */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 120px 0;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding-top: 180px;
    /* Increased from 80px */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% -20%, #1e3a8a 0%, var(--bg-deep) 70%);
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% -20%, #1e3a8a 0%, var(--bg-deep) 70%);
}

/* Specific override for the bottom CTA card */
.hero-section.cta-card {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    margin-top: 0 !important;
    background: var(--gradient-card) !important;
    /* Ensure it keeps its card look */
}

/* ... existing styles ... */

.btn-primary-glow {
    background: var(--primary);
    color: white;
    padding: 18px 50px;
    /* Larger padding */
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.5rem;
    /* Increased from 1.125rem */
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    text-transform: uppercase;
    /* Optional: bolder look */
    letter-spacing: 1px;
}

.btn-primary-glow:hover {
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.6);
    transform: translateY(-2px);
}

.btn-outline-glow {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
}

.btn-outline-glow:hover {
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

/* --- Hero Image (3D/Float) --- */
.hero-image-wrapper {
    margin-top: 30px;
    margin-bottom: 0;
    position: relative;
    perspective: 1000px;
    /* filter: drop-shadow(0 40px 25px rgba(37, 99, 235, 0.4)); Removed to ensure no overflow bleed */
    width: 100%;
    max-width: 1000px;
    /* Limit width to avoid massive span */
    margin-left: auto;
    margin-right: auto;
    overflow: visible !important;
    /* Allow glow/shadow to spill out */
}

.hero-mockup {
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-mockup:hover {
    transform: rotateX(0deg) scale(1.02);
}

/* --- Product Tour (Interactive Tabs) --- */
.tour-section {
    background: linear-gradient(to bottom, var(--bg-deep), #0f172a);
    padding-top: 60px;
    /* Reduced from default 120px */
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 30px;
    border-radius: 50px;
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Gold/Titanium Shine Effect */
.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.hero-badge:hover::before {
    left: 100%;
}

.hero-badge:hover {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
    transform: translateY(-2px);
}

.hero-cta-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.tour-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.tour-tab {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    padding: 12px 28px;
    border-radius: 100px;
    color: var(--text-dim);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tour-tab:hover,
.tour-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.tour-content {
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 20px 0;
    position: relative;
    overflow: visible;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.tour-slide.active {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

@media (max-width: 991px) {
    .tour-slide.active {
        flex-direction: column;
        text-align: center;
    }
}

.tour-text {
    flex: 1;
    padding: 20px;
}

.tour-text h3 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
}

.tour-text p {
    font-size: 1.6rem;
    color: #cbd5e1;
    line-height: 1.6;
    font-weight: 400;
}

.tour-image {
    flex: 1.5;
    text-align: center;
}

.tour-image img {
    border-radius: 0;
    box-shadow: none;
    border: none;
    filter: drop-shadow(0 20px 50px rgba(37, 99, 235, 0.2));
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Features Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--gradient-card);
    border: var(--glass-border);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 58, 138, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 16px;
}

.feature-card p {
    font-size: 1.1rem;
    color: var(--text-dim);
}

/* Strict Canvas Constraints (Prevent Mobile Overflow) */
#hero-3d-scene {
    width: 100%;
    max-width: 100vw;
    overflow: hidden !important;
    touch-action: pan-y;
    /* DISALLOW HORIZONTAL SWIPE SCROLLING HERE */
}

#hero-3d-scene canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    display: block;
    /* Removes bottom margin ghost space */
    outline: none;
}

/* --- Architecture Section --- */
.architecture-section {
    background: radial-gradient(circle at 100% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    border-top: var(--glass-border);
}

.arch-grid {
    display: flex;
    align-items: center;
    gap: 80px;
}

.arch-visual {
    flex: 1;
    position: relative;
}

.arch-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 20px 80px rgba(37, 99, 235, 0.3));
}

.arch-content {
    flex: 1.2;
}

.arch-content h2 {
    margin-bottom: 30px;
}

.arch-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.arch-item {
    display: flex;
    gap: 20px;
}

.arch-item-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-glow);
    flex-shrink: 0;
}

.arch-item-text h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: white;
}

.arch-item-text p {
    font-size: 1.1rem !important;
    color: var(--text-dim) !important;
    margin: 0;
}

@media (max-width: 991px) {
    .arch-grid {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .arch-item {
        flex-direction: column;
        align-items: center;
    }
}

.footer-links a {
    color: var(--text-dim);
    font-size: 1.25rem;
    /* Increased size */
    transition: all 0.3s ease;
    display: block;
    /* Better hit area */
}

.footer-contact li {
    font-size: 1.25rem;
    /* Increased size */
}

.footer-contact i {
    font-size: 1.4rem;
    /* Increased icons */
    color: var(--accent);
    /* Make them pop more */
}

.social-link {
    width: 48px;
    /* Bigger touch targets */
    height: 48px;
    font-size: 1.2rem;
}



@media (max-width: 768px) {
    :root {
        --font-size-h1: 2.5rem;
        --font-size-h2: 2rem;
    }

    .hero-section {
        padding-top: 120px;
    }

    /* Reduce section padding on mobile */
    .section-padding {
        padding: 60px 0;
    }

    /* Further reduce CTA card padding on mobile */
    .hero-section.cta-card {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
        border-radius: 24px !important;
        /* Slightly smaller radius for mobile */
    }

    .hero-cta-wrapper {
        flex-direction: column;
    }

    .btn-primary-glow,
    .btn-outline-glow {
        width: 100%;
        text-align: center;
    }

    /* Fix Feature Grid on Mobile */
    .feature-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

/* Interaction Hint Overlay */
.interaction-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* Let clicks pass through to 3D scene */
    z-index: 100;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    transition: opacity 0.5s ease;
}

.hint-icon {
    font-size: 40px;
    margin-bottom: 10px;
    animation: pulse-click 2s infinite;
    text-shadow: 0 0 20px rgba(31, 83, 188, 0.8);
}

.hint-text {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.7;
}

@keyframes pulse-click {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.interaction-hint.hidden {
    opacity: 0;
}

/* Version Logo Animation Styles */
.logo-version {
    width: auto;
    height: 420px;
    filter: drop-shadow(0 0 80px rgba(37, 99, 235, 0.4));
    animation: float 6s ease-in-out infinite;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .logo-version {
        height: 300px;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}