/* Import Vazirmatn Font from local static files */
@import url('static/css/vazirmatn.css');

:root {
    /* Fluent UI Color Palette */
    --fluent-primary: #0078d4;
    --fluent-primary-hover: #005a9e;
    --fluent-primary-pressed: #004578;
    
    --fluent-bg: #faf9f8;
    --fluent-card-bg: #ffffff;
    --fluent-text-primary: #323130;
    --fluent-text-secondary: #605e5c;
    --fluent-border: #edebe9;
    --fluent-border-hover: #8a8886;
    
    /* Fluent UI Elevation (Shadows) */
    --elevation-4: 0 1.6px 3.6px 0 rgba(0,0,0,0.132), 0 0.3px 0.9px 0 rgba(0,0,0,0.108);
    --elevation-8: 0 3.2px 7.2px 0 rgba(0,0,0,0.132), 0 0.6px 1.8px 0 rgba(0,0,0,0.108);
    --elevation-16: 0 6.4px 14.4px 0 rgba(0,0,0,0.132), 0 1.2px 3.6px 0 rgba(0,0,0,0.108);
    
    /* Fluent UI Border Radius */
    --radius-small: 2px;
    --radius-medium: 4px;
    --radius-large: 8px;
}

/* CSS Reset and Universal Box Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Body Styles: Font, Direction, Colors */
body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    direction: rtl; /* Right-to-Left for Persian */
    line-height: 1.6;
    color: var(--fluent-text-primary);
    background-color: var(--fluent-bg);
}

/* Container Class for Centered Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles: White background with shadow */
header {
    background-color: var(--fluent-card-bg);
    color: var(--fluent-text-primary);
    padding: 12px 0;
    box-shadow: var(--elevation-4);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-right {
    display: flex;
    align-items: center;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--fluent-text-primary);
    transition: all 0.2s ease;
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--fluent-text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 12px;
    border-radius: var(--radius-medium);
    transition: background-color 0.1s;
}

.main-nav a:hover {
    background-color: var(--fluent-bg);
    color: var(--fluent-primary);
}

/* Logo Image Styling */
.logo {
    max-width: 30px;
    height: auto;
}

/* Language Dropdown Styles */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: var(--fluent-card-bg);
    color: var(--fluent-text-primary);
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid var(--fluent-border);
    border-radius: var(--radius-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.dropbtn:hover {
    background-color: var(--fluent-bg);
    border-color: var(--fluent-border-hover);
}

.flag-icon {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 1px;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid var(--fluent-text-secondary);
    margin-left: 4px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--fluent-card-bg);
    min-width: 140px;
    box-shadow: var(--elevation-8);
    z-index: 1;
    border-radius: var(--radius-medium);
    border: 1px solid var(--fluent-border);
    top: calc(100% + 4px);
    inset-inline-end: 0;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    color: var(--fluent-text-primary);
    padding: 8px 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: background-color 0.1s;
}

.dropdown-content a:hover {
    background-color: var(--fluent-bg);
}

/* Hero Section: Fluent UI inspired with glassmorphism */
.hero {
    background: radial-gradient(circle at 20% 30%, #0078d4 0%, #005a9e 50%, #004578 100%);
    color: #ffffff;
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="rgba(255,255,255,0.05)" fill-rule="evenodd"><circle cx="3" cy="3" r="1"/><circle cx="13" cy="13" r="1"/></g></svg>');
    opacity: 0.4;
    z-index: 0;
}

/* Wave Animation Styles */
.hero-waves-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.waves {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 10s;
    fill: rgba(255, 255, 255, 0.07);
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 15s;
    fill: rgba(255, 255, 255, 0.05);
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 20s;
    fill: rgba(255, 255, 255, 0.03);
}

.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 25s;
    fill: rgba(255, 255, 255, 0.02);
}

@keyframes move-forever {
    0% {
        transform: translate3d(-40px, 0, 0);
    }
    100% {
        transform: translate3d(40px, 0, 0);
    }
}

.hero-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 60px 40px;
    border-radius: var(--radius-large);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--elevation-16);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

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

/* Hero Heading */
.hero h1 {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Hero Paragraph */
.hero p {
    font-size: 1.4rem;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Specific Buttons */
.btn-hero-primary {
    background-color: #ffffff;
    color: var(--fluent-primary);
    box-shadow: var(--elevation-8);
}

.btn-hero-primary:hover {
    background-color: #f3f2f1;
    transform: translateY(-2px);
    box-shadow: var(--elevation-16);
}

.btn-hero-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Button Styles: Fluent UI Primary and Standard */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 40px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-medium);
    transition: all 0.1s ease;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
}

/* CTA Section Button */
.cta .btn {
    background-color: #ffffff;
    color: var(--fluent-primary);
}

.cta .btn:hover {
    background-color: #f3f2f1;
    transform: translateY(-1px);
}

.cta .btn:active {
    background-color: #edebe9;
    transform: translateY(0);
}

/* Standard Primary Button */
.btn-primary {
    background-color: var(--fluent-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--fluent-primary-hover);
}

.btn-primary:active {
    background-color: var(--fluent-primary-pressed);
}

/* General Section Styles with Fade-in Animation */
section {
    padding: 60px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

/* Fade-in Class for Animated Sections */
section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Section Headings */
section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

/* Section Paragraphs */
section p {
    margin-bottom: 20px;
}

/* About Section Background */
.about {
    background-color: var(--fluent-card-bg);
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-main h2 {
    text-align: start;
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 16px;
    font-size: 2.5rem;
}

.about-main h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 80px;
    height: 4px;
    background-color: var(--fluent-primary);
    border-radius: var(--radius-small);
}

.about-description {
    font-size: 1.15rem;
    color: var(--fluent-text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-card {
    background-color: var(--fluent-bg);
    padding: 32px 24px;
    border-radius: var(--radius-large);
    border: 1px solid var(--fluent-border);
    box-shadow: var(--elevation-4);
    transition: all 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--elevation-16);
    border-color: var(--fluent-primary);
    background-color: var(--fluent-card-bg);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--fluent-primary);
    filter: drop-shadow(0 4px 8px rgba(0, 120, 212, 0.2));
}

.feature-card p {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--fluent-text-primary);
    line-height: 1.4;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-main {
        text-align: center;
    }
    
    .about-main h2::after {
        inset-inline-start: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 480px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Location Section Background and Map Styling */
.location {
    background-color: var(--fluent-bg);
    padding: 100px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.location-desc {
    font-size: 1.1rem;
    color: var(--fluent-text-secondary);
    margin-bottom: 32px;
    text-align: start;
}

.contact-card {
    background-color: var(--fluent-card-bg);
    padding: 32px;
    border-radius: var(--radius-large);
    border: 1px solid var(--fluent-border);
    box-shadow: var(--elevation-8);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--fluent-primary);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 120, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item span {
    font-size: 0.85rem;
    color: var(--fluent-text-secondary);
}

.contact-item strong {
    font-size: 1rem;
    color: var(--fluent-text-primary);
}

.map-wrapper {
    position: relative;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--elevation-16);
    border: 1px solid var(--fluent-border);
    height: 450px;
    background-color: #f3f2f1;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.advantage-card {
    background-color: var(--fluent-card-bg);
    padding: 32px 24px;
    border-radius: var(--radius-medium);
    border: 1px solid var(--fluent-border);
    box-shadow: var(--elevation-4);
    text-align: center;
    transition: all 0.2s ease;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-8);
    border-color: var(--fluent-primary);
}

.advantage-card i {
    font-size: 2rem;
    color: var(--fluent-primary);
    margin-bottom: 16px;
}

.advantage-card p {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Brand Intro Highlight */
.brand-highlight {
    background: linear-gradient(to right, rgba(0, 120, 212, 0.05), rgba(0, 120, 212, 0.02));
    padding: 60px 40px;
    border-radius: var(--radius-large);
    border-inline-start: 6px solid var(--fluent-primary);
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.quote-icon {
    position: absolute;
    top: 20px;
    inset-inline-start: 20px;
    font-size: 2rem;
    color: rgba(0, 120, 212, 0.1);
}

.brand-highlight p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--fluent-text-primary);
    font-weight: 500;
    margin-bottom: 0;
    font-style: italic;
}

/* Mission & Vision */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

.mission-card {
    background-color: var(--fluent-card-bg);
    padding: 40px;
    border-radius: var(--radius-large);
    border: 1px solid var(--fluent-border);
    box-shadow: var(--elevation-8);
    text-align: center;
}

.mission-icon {
    font-size: 3rem;
    color: var(--fluent-primary);
    margin-bottom: 24px;
}

.mission-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    color: var(--fluent-primary);
}

.mission-card p {
    color: var(--fluent-text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Company Identity */
.identity-box {
    background-color: #201f1e;
    color: #ffffff;
    padding: 80px 60px;
    border-radius: var(--radius-large);
    text-align: center;
}

.identity-box h2 {
    color: #ffffff;
    margin-bottom: 40px;
}

.identity-content {
    max-width: 800px;
    margin: 0 auto;
}

.identity-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d2d0ce;
}

@media (max-width: 768px) {
    .location-grid, .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-highlight p {
        font-size: 1.1rem;
    }
    
    .identity-box {
        padding: 40px 20px;
    }
}

/* Products Section Background */
.products {
    background-color: var(--fluent-bg);
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--fluent-border);
    padding-bottom: 0;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fluent-text-secondary);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    font-family: inherit;
}

.tab-btn:hover {
    color: var(--fluent-text-primary);
    background-color: rgba(0, 0, 0, 0.04);
}

.tab-btn.active {
    color: var(--fluent-primary);
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--fluent-primary);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

/* Product Category Container */
.product-category {
    margin-bottom: 0;
}

/* Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Individual Product Card */
.product-card {
    background-color: var(--fluent-card-bg);
    padding: 24px;
    border-radius: var(--radius-medium);
    border: 1px solid var(--fluent-border);
    box-shadow: var(--elevation-4);
    transition: all 0.2s ease;
}

/* Product Card Hover Effect */
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-16);
    border-color: var(--fluent-border-hover);
}

/* Product Card Headings */
.product-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--fluent-text-primary);
    font-weight: 600;
}

.product-card p {
    color: var(--fluent-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Advantages Section Background */
.advantages {
    background-color: var(--fluent-card-bg);
}

/* Advantages List Styling */
.advantages ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.advantages li {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--fluent-text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Checkmark Icon Before List Items */
.advantages li:before {
    content: ""; /* Fluent UI Checkmark icon code if using Fluent Icons, but we'll use a simple check for now */
    content: "✓";
    color: var(--fluent-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Brand Introduction Section */
.brand-intro {
    background-color: var(--fluent-bg);
    text-align: center;
}

/* FAQ Section */
.faq {
    background-color: var(--fluent-card-bg);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--fluent-border);
    border-radius: var(--radius-medium);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--fluent-border);
}

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

.faq-question {
    width: 100%;
    padding: 16px 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: right;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--fluent-text-primary);
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: var(--fluent-bg);
}

.chevron-down {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--fluent-text-secondary);
    border-bottom: 2px solid var(--fluent-text-secondary);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: 16px;
}

.faq-item.active .chevron-down {
    transform: rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: #ffffff;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Large enough value */
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    margin-bottom: 0;
    color: var(--fluent-text-secondary);
    line-height: 1.8;
}

/* Mission Section */
.mission {
    background-color: var(--fluent-bg);
}

/* About LLM Section */
.about-llm {
    background-color: var(--fluent-card-bg);
}

/* Call to Action Section: Blue background */
.cta {
    background-color: var(--fluent-primary);
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

/* CTA Heading Color Override */
.cta h2 {
    color: #ffffff;
    margin-bottom: 32px;
}

/* Footer Styles: Fluent UI Neutral Dark */
footer {
    background-color: #201f1e;
    color: #ffffff;
    padding: 64px 0 0 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    max-width: 100px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1); /* Make logo white */
}

.footer-company-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-desc {
    color: #d2d0ce;
    line-height: 1.6;
    max-width: 400px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d2d0ce;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--fluent-primary);
}

.footer-contact-info p {
    color: #d2d0ce;
    margin-bottom: 16px;
}

.footer-bottom {
    border-top: 1px solid #323130;
    padding: 24px 0;
    text-align: center;
    background-color: #1b1a19;
}

.footer-bottom p {
    margin-bottom: 0;
    color: #a19f9d;
    font-size: 12px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background-color: var(--fluent-primary);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: var(--elevation-8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--fluent-primary-hover);
    transform: scale(1.1);
}

/* Responsive Design for Mobile Devices */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: 280px;
        height: 100vh;
        background-color: var(--fluent-card-bg);
        flex-direction: column;
        padding: 80px 24px;
        box-shadow: var(--elevation-16);
        transition: right 0.3s cubic-bezier(0.7, 0, 0.3, 1);
        z-index: 1050;
        gap: 8px;
    }

    .main-nav.active {
        right: 0;
    }

    /* Hamburger Animation to X */
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-desc {
        margin: 0 auto;
    }
}
/* Product Details Styles */
.product-details {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--fluent-border);
}

.product-details h5 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--fluent-text-primary);
    font-weight: 600;
}

.product-details ul {
    list-style: disc inside;
    margin-bottom: 12px;
    color: var(--fluent-text-secondary);
}

.product-details ul li {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.product-details strong {
    color: var(--fluent-primary);
}
