/* ===== CSS Variables ===== */
:root {
    --navy: #00274d;
    --navy-light: #004080;
    --navy-dark: #001a33;
    --accent: #1e90ff;
    --accent-light: #e0f0ff;
    --bg-gradient-start: #eef2f7;
    --bg-gradient-end: #dce4ed;
    --text-primary: #1a1a2e;
    --text-secondary: #555;
    --text-muted: #888;
    --white: #ffffff;
    --off-white: #f8f9fc;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Fonts */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    background: linear-gradient(160deg, var(--bg-gradient-start), var(--bg-gradient-end));
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Scroll-reactive bouncing orbs */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    will-change: transform, opacity;
}

/*
  Orbs start below/at the bottom of the viewport.
  JS moves them upward as user scrolls down.
  "top" positions are relative to the fixed viewport.
*/
.bg-orb--1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.40) 0%, rgba(30, 144, 255, 0.12) 55%, transparent 72%);
    top: 60%;
    right: 8%;
    filter: blur(28px);
    opacity: 0.85;
}

.bg-orb--2 {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(0, 39, 77, 0.35) 0%, rgba(0, 39, 77, 0.10) 55%, transparent 72%);
    top: 75%;
    left: 6%;
    filter: blur(28px);
    opacity: 0.8;
}

.bg-orb--3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.32) 0%, rgba(30, 144, 255, 0.08) 55%, transparent 72%);
    top: 110%;
    left: 45%;
    filter: blur(24px);
    opacity: 0.75;
}

.bg-orb--4 {
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(0, 64, 128, 0.30) 0%, rgba(0, 64, 128, 0.06) 55%, transparent 72%);
    top: 140%;
    left: 20%;
    filter: blur(22px);
    opacity: 0.7;
}

.bg-orb--5 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.28) 0%, rgba(30, 144, 255, 0.05) 55%, transparent 72%);
    top: 160%;
    right: 22%;
    filter: blur(20px);
    opacity: 0.7;
}

/* Smaller accent orbs */
.bg-orb--6 {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.35) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    filter: blur(14px);
    opacity: 0.7;
}

.bg-orb--7 {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(0, 39, 77, 0.38) 0%, transparent 70%);
    top: 90%;
    right: 40%;
    filter: blur(12px);
    opacity: 0.65;
}

.bg-orb--8 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.30) 0%, transparent 70%);
    top: 130%;
    left: 70%;
    filter: blur(16px);
    opacity: 0.7;
}

.bg-orb--9 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 64, 128, 0.40) 0%, transparent 70%);
    top: 50%;
    right: 30%;
    filter: blur(10px);
    opacity: 0.6;
}

.bg-orb--10 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.32) 0%, transparent 70%);
    top: 170%;
    left: 40%;
    filter: blur(12px);
    opacity: 0.65;
}

.bg-orb--11 {
    width: 55px;
    height: 55px;
    background: radial-gradient(circle, rgba(0, 39, 77, 0.36) 0%, transparent 70%);
    top: 120%;
    left: 85%;
    filter: blur(10px);
    opacity: 0.6;
}

.bg-orb--12 {
    width: 75px;
    height: 75px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.28) 0%, transparent 70%);
    top: 200%;
    left: 12%;
    filter: blur(12px);
    opacity: 0.6;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--navy-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Top Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-brand img {
    height: 64px;
    width: auto;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.navbar-nav a:hover {
    background: var(--accent-light);
    color: var(--navy);
}

.navbar-nav a.nav-cta {
    background: var(--navy);
    color: var(--white);
    padding: 8px 20px;
}

.navbar-nav a.nav-cta:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 39, 77, 0.3);
}

.navbar-nav a.nav-danger {
    color: #dc3545;
}

.navbar-nav a.nav-danger:hover {
    background: #fff5f5;
}

.navbar-nav a.nav-success {
    color: #28a745;
}

.navbar-nav a.nav-success:hover {
    background: #f0fff4;
}

.nav-user-info {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-premium-badge {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: var(--navy-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.06em;
    font-family: var(--font-body);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.lang-btn {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.04em;
}

.lang-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(30, 144, 255, 0.06);
}

.lang-btn.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar-toggle:hover {
    background: var(--accent-light);
}

/* ===== Main Content ===== */
#content {
    margin-top: 80px;
    padding: 40px 60px 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    min-height: calc(100vh - 80px);
    position: relative;
    z-index: 1;
}

/* ===== Hero / Page Headers ===== */
.page-hero {
    text-align: center;
    padding: 80px 20px 60px;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.page-hero .subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Home hero special */
.home-hero {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.home-hero h1 {
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1;
    letter-spacing: -0.04em;
}

.cursor {
    display: inline-block;
    width: 4px;
    height: 0.85em;
    background-color: var(--navy);
    animation: blink 1s step-start infinite;
    vertical-align: baseline;
    margin-left: 4px;
    border-radius: 2px;
}

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

.home-hero .scroll-indicator {
    margin-top: 60px;
    animation: float 3s ease-in-out infinite;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    display: inline-block;
}

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

/* ===== Section with fade-in ===== */
.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Content Card (used for text blocks) ===== */
.content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 720px;
    margin: 0 auto 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.content-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 0 0 16px;
    line-height: 1.8;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.content-card a {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(30, 144, 255, 0.3);
    text-underline-offset: 3px;
}

.content-card a:hover {
    text-decoration-color: var(--accent);
}

/* ===== Product Cards Grid ===== */
.products-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 auto;
    max-width: 1100px;
}

.product-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.product-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.product-box .product-image-wrapper {
    background: var(--navy);
    padding: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
}

.product-box .product-image-wrapper svg {
    width: 48px;
    height: 48px;
    stroke: rgba(255, 255, 255, 0.85);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition);
}

.product-box:hover .product-image-wrapper svg {
    stroke: var(--white);
    transform: scale(1.1);
}

.product-description {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
}

.product-description h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--text-primary);
}

.product-description p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 16px;
    line-height: 1.6;
    flex: 1;
}

.products-show-more {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.products-show-more::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.products-show-more:hover {
    color: var(--navy);
}

.products-show-more:hover::after {
    transform: translateX(4px);
}

/* ===== Contact Form ===== */
.contact-form {
    background: var(--white);
    color: var(--text-primary);
    font-family: var(--font-body);
    padding: 48px;
    border-radius: var(--radius-lg);
    max-width: 640px;
    margin: 0 auto 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

input, textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}

input:focus, textarea:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== Buttons ===== */
button, .btn {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.01em;
}

button {
    background: var(--navy);
    color: var(--white);
}

button:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 39, 77, 0.25);
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 39, 77, 0.3);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

/* ===== About Section ===== */
.about-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    font-family: var(--font-body);
}

.about-image-left, .about-image-right {
    flex: 0 0 28%;
    text-align: center;
}

.about-image-left img, .about-image-right img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    border: 4px solid var(--border);
    transition: var(--transition);
}

.about-section:hover .about-image-left img,
.about-section:hover .about-image-right img {
    border-color: var(--accent);
}

.about-text-left, .about-text-right {
    flex: 0 0 68%;
    text-align: left;
    line-height: 1.8;
}

.about-image-right {
    order: 2;
}

.about-text-left {
    order: 1;
}

.about-name {
    text-align: left;
    margin-bottom: 8px;
}

.about-name h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.about-intro {
    text-align: center;
    padding: 20px;
    font-size: 2rem;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.social-links {
    margin-top: 16px;
}

.social-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    margin-right: 12px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent);
}

/* ===== Blog ===== */
.blog-article {
    background: var(--white);
    padding: 0;
    margin: 0 auto 32px;
    border-radius: var(--radius-lg);
    max-width: 800px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.blog-article:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.blog-article-content {
    display: flex;
    align-items: stretch;
}

.blog-article-image {
    flex: 0 0 200px;
    overflow: hidden;
}

.blog-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-article:hover .blog-article-image img {
    transform: scale(1.05);
}

.blog-article-text {
    flex: 1;
    padding: 28px 32px;
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-article-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--text-primary);
}

.blog-article-description {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 16px;
    color: var(--text-secondary);
}

.read-more-link {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.read-more-link::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: var(--navy);
}

.read-more-link:hover::after {
    transform: translateX(4px);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    overflow: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 60px auto;
    padding: 48px;
    border: none;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 700px;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    font-family: var(--font-body);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 20px;
    color: var(--text-primary);
}

.modal-content p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.close-btn {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: var(--text-primary);
    background: var(--off-white);
}

.modal.show {
    animation: none;
}

/* ===== Newsletter Footer ===== */
#newsletter-container {
    background: var(--navy);
    padding: 48px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

#newsletter-container h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 20px;
}

#newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

#newsletter-form input[type="email"] {
    padding: 12px 20px;
    width: 360px;
    max-width: 90vw;
    font-size: 0.9rem;
    font-family: var(--font-body);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    outline: none;
    transition: var(--transition);
}

#newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#newsletter-form input[type="email"]:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

#newsletter-form button {
    background: var(--white);
    color: var(--navy);
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

#newsletter-form button:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== Footer Disclaimer ===== */
.footer-disclaimer {
    background: var(--navy-dark);
    padding: 20px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-disclaimer p {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-body);
}

/* ===== Home Hero Tagline ===== */
.home-hero-tagline {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 12px auto 0;
    max-width: 520px;
    line-height: 1.6;
    text-align: center;
}

/* ===== Alerts ===== */
.alert {
    padding: 14px 20px;
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-body);
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

/* ===== Auth Forms (Login, Register, Forgot/Reset Password) ===== */
.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 440px;
    margin: 20px auto;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    font-family: var(--font-body);
}

.auth-card .form-group {
    margin-bottom: 18px;
}

.auth-card .form-group label {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

.auth-card .form-group input {
    padding: 12px 16px;
    font-size: 0.95rem;
}

.auth-card button {
    width: 100%;
    margin-top: 8px;
}

.auth-card .auth-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-card .auth-link a {
    color: var(--accent);
    font-weight: 600;
}

/* ===== reCAPTCHA ===== */
.recaptcha-container {
    transform: scale(0.85);
    transform-origin: center;
    margin: 12px auto;
    width: max-content;
    display: block;
}

/* ===== Divider ===== */
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--navy);
    margin: 0 auto 40px;
    border-radius: 3px;
}

/* ===== Feature Cards (for home page) ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card .feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--navy);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--text-primary);
}

.feature-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== Dashboard Showcase ===== */
.showcase-section {
    padding: 80px 0 40px;
    text-align: center;
}

.showcase-section .showcase-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin: 0 0 12px;
}

.showcase-section h2 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.showcase-section .showcase-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.showcase-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.showcase-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
    position: relative;
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.showcase-card img {
    width: 100%;
    display: block;
}

.showcase-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 39, 77, 0.92) 0%, rgba(0, 39, 77, 0.5) 70%, transparent 100%);
    padding: 40px 20px 16px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.showcase-cta {
    margin-top: 40px;
    padding-top: 0;
}

/* ===== Dashboard CTA Section ===== */
.dashboard-cta-section {
    padding: 80px 0 20px;
    text-align: center;
}

.dashboard-cta-section .showcase-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin: 0 0 12px;
}

.dashboard-cta-section h2 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.dashboard-cta-section .showcase-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.dashboard-preview-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--navy-dark);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.dashboard-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--navy);
    display: flex;
    align-items: center;
}

.dashboard-preview-card::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow: 20px 0 0 #febc2e, 40px 0 0 #28c840;
}

.dashboard-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.dashboard-preview-grid img {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-preview-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 32px auto 0;
}

.dashboard-feature-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.dashboard-feature-item h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--text-primary);
}

.dashboard-feature-item p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.dashboard-cta-button {
    margin-top: 36px;
}
/**
Carousel New
.carousel-new {
    max-width: 900px;
    margin: 24px auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.carousel-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--navy);
    display: flex;
    align-items: center;
}

.carousel-new::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow: 20px 0 0 #febc2e, 40px 0 0 #28c840;
}

.carousel-images {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8);
    margin-top: 12px;
}

.carousel-item {
    display: none;
    width: 100%;
    height: auto;
    cursor: pointer;
    animation: fadeIn 0.5s ease;
}

.carousel-item.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(232, 234, 237, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background: rgba(232, 234, 237, 0.6);
}

.dot.active {
    background: var(--navy);
    width: 28px;
    border-radius: 6px;
}
**/

/* Dashboard Modal */
/**
.dashboard-modal {
    display: none;
    position: fixed;
    z-index: 2001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
   background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.dashboard-modal-content {
    position: relative;
    max-width: 75%;
    max-height: 80vh;
    border-radius: var(--radius-xl);
    overflow: auto;
    animation: modalSlideIn 0.3s ease;
}

.dashboard-modal-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}

.dashboard-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--text-primary);
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.dashboard-modal-close:hover {
    color: var(--navy);
}

**/

/* Carousel New */
.carousel-new {
    max-width: 900px;
    margin: 64px auto;
    text-align: center;

    background: transparent; 
    border-radius: var(--radius-xl);
    padding: 0; 
    box-shadow: none;
    
    position: relative;
}


/* Carousel Viewport */
.carousel-viewport {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Sliding Track */
.carousel-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background: rgba(0, 0, 0, 0.4);
}

.dot.active {
    background: var(--navy);
    width: 24px;
    border-radius: 999px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    padding: 0;
}

.carousel-arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--navy);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carousel-arrow-left {
    left: 12px;
}

.carousel-arrow-right {
    right: 12px;
}

@media (max-width: 768px) {
    .carousel-arrow {
        width: 36px;
        height: 36px;
    }
    .carousel-arrow svg {
        width: 18px;
        height: 18px;
    }
    .carousel-arrow-left { left: 6px; }
    .carousel-arrow-right { right: 6px; }
}


/* Dashboard Modal */
.dashboard-modal {
    display: none;
    position: fixed;
    z-index: 2001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px); 
    align-items: center;
    justify-content: center;
}

.dashboard-modal-content {
    position: relative;
    max-width: 75%;
    max-height: 80vh;
    border-radius: var(--radius-xl);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

.dashboard-modal-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}

.dashboard-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white; 
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.dashboard-modal-close:hover {
    color: var(--navy);
}

/* ===== Inline Finibot Chat ===== */
.finibot-section {
    padding: 80px 0 20px;
    text-align: center;
}

.finibot-section .showcase-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin: 0 0 12px;
}

.finibot-section h2 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.finibot-section .showcase-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.finibot-container {
    max-width: 720px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.finibot-container.active {
    box-shadow: 0 12px 48px rgba(0, 39, 77, 0.15);
}

/* Header bar */
.finibot-header {
    background: var(--navy);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.finibot-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4caf50;
    flex-shrink: 0;
}

.finibot-header-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

/* Messages area */
.finibot-messages {
    max-height: 0;
    overflow-y: auto;
    background: var(--off-white);
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.finibot-container.active .finibot-messages {
    max-height: 400px;
    padding: 20px 24px;
}

.finibot-msg {
    margin-bottom: 16px;
    display: flex;
    animation: msgFadeIn 0.3s ease;
}

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

.finibot-msg.user {
    justify-content: flex-end;
}

.finibot-msg-bubble {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.6;
}

.finibot-msg.user .finibot-msg-bubble {
    background: var(--navy);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.finibot-msg.assistant .finibot-msg-bubble {
    background: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

.finibot-msg.system .finibot-msg-bubble {
    background: var(--accent-light);
    color: var(--navy);
    border: 1px solid rgba(30, 144, 255, 0.2);
    max-width: 100%;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Suggestions */
.finibot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 24px;
    background: var(--off-white);
    border-top: 1px solid var(--border);
}

.finibot-container.active .finibot-suggestions {
    display: none;
}

.finibot-suggestion-btn {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.finibot-suggestion-btn:hover {
    border-color: var(--accent);
    color: var(--navy);
    background: var(--accent-light);
    transform: none;
    box-shadow: none;
}

/* Input area */
.finibot-input-area {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.finibot-input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    background: var(--off-white);
    outline: none;
    transition: var(--transition);
}

.finibot-input:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.finibot-input::placeholder {
    color: var(--text-muted);
}

.finibot-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.finibot-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    padding: 0;
}

.finibot-send-btn:hover {
    background: var(--navy-light);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 39, 77, 0.3);
}

.finibot-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.finibot-send-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Typing indicator */
.finibot-typing {
    display: flex;
    gap: 4px;
    padding: 12px 18px;
    align-items: center;
}

.finibot-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: typingBounce 1.2s ease-in-out infinite;
}

.finibot-typing span:nth-child(2) { animation-delay: 0.15s; }
.finibot-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

/* ===== Mobile Styles ===== */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0 16px;
        height: 60px;
    }

    .navbar-brand img {
        height: 48px;
    }

    .navbar-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }

    .navbar-nav.open {
        display: flex;
    }

    .navbar-nav a {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .lang-switcher {
        justify-content: center;
        margin: 8px 0 4px;
    }

    .navbar-toggle {
        display: block;
    }

    #content {
        margin-top: 60px;
        padding: 24px 16px 60px;
    }

    .page-hero {
        padding: 40px 10px 30px;
    }

    .page-hero h1 {
        font-size: 2.4rem;
    }

    .home-hero h1 {
        font-size: 4rem;
    }

    .home-hero {
        min-height: calc(100vh - 60px);
    }

    .cursor {
        display: none;
    }

    .content-card {
        padding: 28px 24px;
    }

    .products-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .contact-form {
        padding: 28px 24px;
        margin: 0 auto 40px;
    }

    .auth-card {
        padding: 32px 24px;
        margin: 20px 16px;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }

    .about-image-left, .about-image-right {
        flex: unset;
        width: 50%;
    }

    .about-text-left, .about-text-right {
        flex: unset;
        text-align: center;
    }

    .about-name {
        text-align: center;
    }

    .about-image-right { order: 0; }
    .about-text-left { order: 1; }

    .blog-article-content {
        flex-direction: column;
    }

    .blog-article-image {
        flex: unset;
        height: 180px;
    }

    .blog-article-text {
        padding: 20px 24px;
    }

    .modal-content {
        margin: 40px 16px;
        padding: 32px 24px;
    }

    #newsletter-form input[type="email"] {
        width: 100%;
    }

    .nav-user-info {
        padding: 8px 16px;
        border-top: 1px solid var(--border);
        margin-top: 8px;
        width: 100%;
        justify-content: center;
    }

    /* Showcase mobile */
    .showcase-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .showcase-cta {
        margin-top: 20px;
    }

    .showcase-section h2,
    .dashboard-cta-section h2 {
        font-size: 1.8rem;
    }

    .dashboard-preview-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-preview-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dashboard-preview-card {
        padding: 24px 16px;
    }
}

@media screen and (max-width: 480px) {
    .products-container {
        grid-template-columns: 1fr;
    }

    .home-hero h1 {
        font-size: 3rem;
    }

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