@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #020205;
    --bg-surface: #0a0b14;
    --bg-surface-glass: rgba(10, 11, 20, 0.75);
    --primary: #00f2ff;
    --primary-glow: rgba(0, 242, 255, 0.35);
    --accent: #5d00ff;
    --accent-glow: rgba(93, 0, 255, 0.2);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --gradient-main: linear-gradient(135deg, #00f2ff 0%, #0066ff 100%);
    --gradient-accent: linear-gradient(135deg, #5d00ff 0%, #00f2ff 100%);
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 242, 255, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px var(--primary-glow);
    }

    50% {
        box-shadow: 0 0 20px var(--primary-glow);
    }

    100% {
        box-shadow: 0 0 5px var(--primary-glow);
    }
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 150px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}

.lang-select:hover {
    border-color: var(--primary);
    color: var(--text-main);
}

.lang-select option {
    background: var(--bg-surface);
    color: var(--text-main);
}

.cta-btn {
    padding: 0.8rem 1.5rem;
    background: var(--gradient-main);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Navbar scrolled state */
.navbar.scrolled {
    background: rgba(2, 2, 5, 0.97);
    border-bottom-color: rgba(0, 242, 255, 0.12);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    transition: all 0.4s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #1a1a3a 0%, var(--bg-dark) 70%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiMzMDMyNDAiIGZpbGwtb3BhY2l0eT0iMC4xIj48cGF0aCBkPSJNMCAwaDQwdjQwSDBVMHptMjAgMjBoMjB2MjBIMjBWMjB6TTEwIDEwaDIwdjIwSDEwVjEweiIvPjwvZz48L2c+PC9zdmc+');
    opacity: 0.5;
    animation: moveGrid 60s linear infinite;
    pointer-events: none;
}

@keyframes moveGrid {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-50px, -50px);
    }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(0, 242, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(93, 0, 255, 0.05) 0%, transparent 40%);
    z-index: 1;
}

.hero-grid-canvas {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 80%);
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.main-cta {
    background: var(--gradient-main);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px -5px rgba(0, 242, 255, 0.3);
}

.secondary-cta {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0.5;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--primary);
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Scroll Animations */
.animate-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Solutions Section */
.solutions {
    padding: 5rem 5%;
    background: var(--bg-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Feature/Software Bento Grid */
.software-features {
    padding: 5rem 5%;
    background: #080815;
}

/* Modern Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 1.5rem;
    margin-top: 3rem;
}

.bento-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bento-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5),
        0 0 30px -5px rgba(0, 242, 255, 0.15),
        inset 0 1px 0 rgba(0, 242, 255, 0.1);
}

.bento-item.span-6 {
    grid-column: span 6;
}

.bento-item.span-4 {
    grid-column: span 4;
}

.bento-item.span-8 {
    grid-column: span 8;
}

.bento-item.row-2 {
    grid-row: span 2;
}

/* Featured Software Cards */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.software-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.software-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    transition: opacity 0.5s, transform 0.5s;
    z-index: 0;
}

.bento-item:hover .bento-bg {
    opacity: 0.4;
    transform: scale(1.05);
}

.bento-content {
    position: relative;
    z-index: 5;
    margin-bottom: 2rem;
}

.bento-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.bento-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 90%;
    line-height: 1.7;
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    background: #020208;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    color: #555;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(2, 2, 8, 0.98);
        backdrop-filter: blur(20px);
        padding: 1.5rem 5%;
        border-bottom: 1px solid var(--border);
        gap: 1.2rem;
    }

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

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

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-item.span-6,
    .bento-item.span-4,
    .bento-item.span-8,
    .bento-item.row-2 {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 400px;
    }

    .bento-item {
        padding: 2rem;
    }

    .bento-content h3 {
        font-size: 1.75rem;
    }

    .nav-actions .cta-btn {
        display: none;
    }
}

/* Hamburger / Burger Button */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0.4rem;
    background: none;
    border: none;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--primary);
}

.burger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--primary);
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }
}

/* Stats / Metrics Strip */
.stats-strip {
    padding: 4rem 5%;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.03) 0%, rgba(93, 0, 255, 0.03) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.stat-desc {
    font-size: 0.78rem;
    color: var(--text-dim);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

/* Image Handling */
.feature-highlight {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 8rem;
    /* Increased spacing */
}

.feature-highlight.reverse {
    flex-direction: row-reverse;
}

/* Bento Grid Specifics */
.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(0, 242, 255, 0.08);
    color: var(--primary);
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.feature-list-modern {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list-modern li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list-modern li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

.cta-link {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 0.95rem;
    transition: gap 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-link:hover {
    gap: 0.8rem;
}

.bento-visual {
    margin-top: 2rem;
    position: relative;
    height: 100%;
}

.bento-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 242, 255, 0.2));
    transition: transform 0.5s;
}

.bento-visual.mini .bento-img {
    width: 80%;
    max-width: 450px;
    margin: 0 auto;
    display: block;
}

.bento-item:hover .bento-img {
    transform: scale(1.05) translateY(-10px);
}

.glow-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, opacity 1s ease-in-out;
}

.carousel {
    display: grid;
    grid-template-areas: "stack";
    justify-items: center;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 300px;
}

.carousel .glow-img {
    grid-area: stack;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    width: auto;
}

.carousel .glow-img.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.glow-img:hover {
    transform: scale(1.02);
}

.bento-img-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    transition: opacity 0.3s;
    filter: grayscale(80%) blur(1px);
}

.bento-item:hover .bento-img-overlay {
    opacity: 0.6;
    filter: grayscale(0%) blur(0);
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    background: rgba(17, 19, 31, 0.95);
    width: 100%;
    max-width: 1000px;
    /* Slightly wider to accommodate grid */
    max-height: 90vh;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(37, 99, 235, 0.15);
    overflow-y: auto;
    padding: 2rem;
    z-index: 1001;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-container.full-width {
    max-width: 95vw;
    width: 95vw;
    height: 90vh;
}

.modal.active .modal-container {
    transform: scale(1);
    opacity: 1;
}

.modal-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.modal-layout.no-visual {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}

.modal-visual {
    position: sticky;
    top: 0;
}

.modal-carousel {
    min-height: 400px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1002;
}

.modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.modal-body {
    line-height: 1.8;
}

.modal-info .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.modal-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.modal-info h3 {
    font-size: 1.3rem;
    color: #fff;
    margin: 2rem 0 1rem;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.modal-info p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.modal-info ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.modal-info li {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}

/* Enhanced Checkout Components */
.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.product-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    flex: 1;
}

.product-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.unit-price {
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.qty-input {
    width: 70px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem;
    color: white;
    text-align: center;
    font-family: inherit;
    font-weight: 600;
}

.qty-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    /* Increased gap */
}

.form-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    /* Reduced padding */
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    /* Slightly smaller font */
    cursor: pointer;
}

.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.8rem 1rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: all 0.3s;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
}

#form-observations {
    min-height: 200px;
    width: 100%;
}

.form-select option {
    background: var(--bg-surface);
    color: white;
}

.summary-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.form-section {
    margin-bottom: 5rem;
    /* Increased from 4rem */
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.billing-summary {
    margin-top: 4rem;
    /* Extra space before summary */
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.summary-header h3 {
    margin: 0;
}

.currency-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.currency-selector label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.currency-select {
    padding: 0.3rem 0.5rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
}

.summary-row.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.summary-row.total span:last-child {
    color: var(--primary);
}

@media (max-width: 900px) {
    .modal-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal-visual {
        position: static;
    }

    .modal-carousel {
        min-height: 300px;
    }

    .modal-container {
        padding: 1.5rem;
    }
}

@media (max-width: 900px) {

    .feature-highlight,
    .feature-highlight.reverse {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 5rem;
    }
}

/* Document Links in Modals */
.document-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.doc-section h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doc-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.doc-btn:hover {
    background: var(--primary-glow);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.doc-btn i {
    font-size: 1rem;
}