:root {
    --bg-main: #050608;
    --bg-elevated: #111216;
    --bg-soft: #181920;
    --accent-gold: #e4c26a;
    --accent-gold-soft: rgba(228, 194, 106, 0.15);
    --text-primary: #f5f5f5;
    --text-muted: #a5a7b1;
    --border-subtle: #262733;
    --danger: #ff4d4f;
    --success: #28a745;
}

/* Generic reset-ish */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg-main);
    background-image: url("../images/BG.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Layout */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header / Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(0px);
    background: linear-gradient(to bottom, rgba(5, 6, 8, 0.55), rgba(5, 6, 8, 0.40)) !important;
    border-bottom: 1px solid rgba(228, 194, 106, 0.18);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.eye-symbol {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.logo-text {
    font-size: 1rem;
}

.main-nav a {
    margin-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.2s ease;
}

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

.main-nav a:hover::after {
    width: 100%;
}

/* Flash messages */
.flash-container {
    padding-top: 0.5rem;
}

.flash-message {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    border: 1px solid transparent;
}

.flash-success {
    background: rgba(40, 167, 69, 0.08);
    border-color: rgba(40, 167, 69, 0.65);
}

.flash-error {
    background: rgba(255, 77, 79, 0.08);
    border-color: rgba(255, 77, 79, 0.7);
}

/* Image container */
.product-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 4s ease-in-out infinite;
    overflow: hidden;
}

.product-image-wrapper::before {
    content: "";
    position: absolute;
    width: 750px;
    height: 750px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
        rgba(228, 194, 106, 0.55) 0%,
        rgba(228, 194, 106, 0.25) 35%,
        rgba(228, 194, 106, 0.10) 60%,
        transparent 80%);
    filter: blur(45px);
    z-index: 0 !important;
    opacity: 0.8 !important;
    display: block !important;
    pointer-events: none !important;
}

/* Product Image */
.product-image {
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative;
    width: 55%;
    max-width: 600px;
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.5));
    transition: transform 0.35s ease; /* smoother */
}

/* ============================
   🚀 NEW — SMOOTH ZOOM ON HOVER
   ============================ */

.product-image:hover {
    transform: scale(1.12) rotateX(6deg) rotateY(3deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 4.5rem 0 4rem;
    color: var(--text-primary);
    overflow: hidden;
    background-color: var(--bg-main);
}

/* Hieroglyphic background */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(228, 194, 106, 0.12) 0, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(228, 194, 106, 0.12) 0, transparent 60%),
        url("../images/BG.webp");
    background-repeat: no-repeat, no-repeat, repeat;
    background-size: 40rem 40rem, 40rem 40rem, 280px 280px;
    opacity: 0.22;
    pointer-events: none;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 0, 0, 0.4), transparent 55%),
        radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.6), transparent 55%);
    z-index: -1;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 3.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 32rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-footnote {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero card */
.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    background: radial-gradient(circle at top, rgba(228, 194, 106, 0.08), transparent 55%), var(--bg-elevated);
    border-radius: 1.5rem;
    padding: 1.5rem 1.25rem;
    border: 1px solid rgba(228, 194, 106, 0.4);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    width: 100%;
    max-width: 320px;
}

.hero-card-header {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.hero-card-body ul {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-card-body li {
    margin-bottom: 0.4rem;
}

.hero-card-badge {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(228, 194, 106, 0.6);
    font-size: 0.8rem;
    color: var(--accent-gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #e4c26a, #f4d88b);
    color: #111216;
    border-color: transparent;
    font-weight: 500;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.btn-outline {
    border-color: rgba(228, 194, 106, 0.6);
    color: var(--accent-gold);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(228, 194, 106, 0.1);
}

.full-width {
    width: 100%;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 36rem;
}

/* Features */
.section-features {
    background: var(--bg-main);
}

.cards-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

.feature-card {
    background: var(--bg-elevated);
    border-radius: 1rem;
    padding: 1.5rem 1.4rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

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

/* Benefits */
.section-benefits {
    background: radial-gradient(circle at top, rgba(228, 194, 106, 0.08), transparent 60%), var(--bg-main);
}

.benefits-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.bullet {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent-gold);
    margin-top: 0.3rem;
}

.benefits-panel {
    background: var(--bg-elevated);
    border-radius: 1.2rem;
    border: 1px solid var(--border-subtle);
    padding: 1.6rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
}

.benefits-panel-header {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--accent-gold);
}

.benefits-panel-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.9rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.benefits-panel-body li {
    margin-bottom: 0.45rem;
}

.benefits-panel-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA */
.section-cta {
    background: var(--bg-soft);
    text-align: center;
}

.section-cta .cta-inner {
    max-width: 580px;
}

.section-cta h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.section-cta p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Contact */
.section-contact {
    background: var(--bg-main);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.contact-text h1 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

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

.contact-bullets {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.contact-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-form-card {
    background: var(--bg-elevated);
    border-radius: 1.2rem;
    padding: 1.7rem 1.5rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
}

.contact-form-card h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #050609;
    border-radius: 0.7rem;
    border: 1px solid var(--border-subtle);
    padding: 0.6rem 0.7rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 1px rgba(228, 194, 106, 0.4);
}

.form-footnote {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Footer */
.site-footer {
    margin-top: auto;
    padding: 1.3rem 0 1.5rem;
    border-top: 1px solid var(--border-subtle);
    background: linear-gradient(to top, #050608, #06070a);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-note {
    color: rgba(228, 194, 106, 0.8);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-inner,
    .benefits-layout,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .cards-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-nav {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }
}

/* Messages Table */
.messages-table-wrapper {
    margin-top: 2rem;
    overflow-x: auto;
}

.messages-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
}

.messages-table thead tr {
    background: rgba(228, 194, 106, 0.12);
}

.messages-table th,
.messages-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}

.messages-table th {
    color: var(--accent-gold);
    text-align: left;
    font-weight: 500;
}

.messages-table tbody tr:hover {
    background: rgba(228, 194, 106, 0.06);
}

/* Light Spot */
.light-spot {
    position: fixed;
    top: 0;
    left: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    pointer-events: auto !important;
    z-index: 0 !important;
    background: radial-gradient(circle,
        rgba(255, 255, 255, 0.75) 0%,
        rgba(255, 255, 255, 0.35) 40%,
        rgba(255, 255, 255, 0.05) 70%,
        transparent 100%);
    mix-blend-mode: soft-light;
    filter: blur(20px);
    transform: translate(-50%, -50%);
    transition: transform 0.08s linear;
}

/* Transparent Sections */
.hero-section,
.section-features,
.section-benefits,
.section-cta,
.section-contact,
.site-footer {
    background: transparent;
}

/* ================================
   PRODUCT SHOWCASE (APPLE STYLE)
   ================================ */

.product-showcase {
    padding: 6rem 0;
    text-align: center;
}

.product-showcase-inner {
    max-width: 1100px;
    margin: auto;
}

.product-title {
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}



/* Parallax Hero */
.parallax-hero {
    position: relative;
    width: 100%;
    height: 95vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-image {
    position: absolute;
    width: 120%;
    height: auto;
    transform: translateY(0px) scale(1);
    transition: transform 0.1s linear;
    will-change: transform;
    pointer-events: none;
}

.logo-img {
    height: 70px;       /* adjust visual size */
    width: auto;
    display: block;
}

/* =====================
   DEMONSTRATION SECTION
   ===================== */

.section-demo {
    background: transparent !important;
    text-align: left;   /* Fix alignment */
}

.demo-inner {
    max-width: 900px;
    margin: 0 auto;
}

.demo-video-wrapper {
    margin-top: 2rem;
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(228, 194, 106, 0.25);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 600px) {
    .demo-inner {
        padding: 0 1rem;
    }

    .demo-video-wrapper {
        border-radius: 0.8rem;
    }
}


/* Floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
}

/* Mobile nav */
@media (max-width: 900px) {
    .logo {
        margin-left: 1rem;   /* increase if needed */
    }

    /* Add right margin to the menu toggle button */
    .mobile-menu-btn {
        margin-right: 1rem;  /* increase if needed */
    }
    .mobile-menu-btn {
        display: block;
        font-size: 2rem;
        color: var(--accent-gold);
        background: none;
        border: none;
        cursor: pointer;
        z-index: 30;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        width: 60%;
        background: rgba(5, 6, 8, 0.95);
        backdrop-filter: blur(14px);
        border-left: 1px solid rgba(228, 194, 106, 0.2);
        border-bottom: 1px solid rgba(228, 194, 106, 0.2);
        border-top: 1px solid rgba(228, 194, 106, 0.05);
        display: none;
        flex-direction: column;
        padding: 1rem 0;
    }

    .main-nav a {
        padding: 0.75rem 1.25rem;
        margin-left: 0;
        font-size: 1rem;
        color: var(--text-primary);
        text-align: left;
    }

    .main-nav a:hover {
        background: rgba(228, 194, 106, 0.15);
    }

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

/* Tablet */
@media (max-width: 992px) {
    body {
        font-size: 0.8rem;
    }

    .hero-text h1 {
        font-size: 1.4rem !important;
    }

    .product-title {
        font-size: 1.6rem !important;
    }

    .product-subtitle {
        font-size: 0.85rem !important;
    }

    .section-title {
        font-size: 1.2rem !important;
    }

    .section-subtitle {
        font-size: 0.8rem !important;
    }

    .btn {
        font-size: 0.8rem !important;
        padding: 0.55rem 1.1rem;
    }
    .product-image-wrapper::before {
        width: 600px;
        height: 600px;
        opacity: 0.65 !important;
        filter: blur(40px);
    }

    .product-image {
        width: 70%;
        max-width: 480px;
    }
}

/* Large Mobile */
@media (max-width: 768px) {
    body {
        font-size: 0.8rem;
    }

    .hero-text h1 {
        font-size: 1.4rem !important;
    }

    .product-title {
        font-size: 1.6rem !important;
    }

    .product-subtitle {
        font-size: 0.85rem !important;
    }

    .section-title {
        font-size: 1.2rem !important;
    }

    .section-subtitle {
        font-size: 0.8rem !important;
    }

    .btn {
        font-size: 0.8rem !important;
        padding: 0.55rem 1.1rem;
    }
    .product-image-wrapper {
        padding: 2rem 0;
    }

    .product-image-wrapper::before {
        width: 450px;
        height: 450px;
        opacity: 0.55 !important;
        filter: blur(35px);
    }

    .product-image {
        width: 80%;
        max-width: 380px;
        animation: float 12s ease-in-out infinite;
    }

    /* Disable hover effects on touch devices */
    .product-image:hover {
        transform: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    body {
        font-size: 0.8rem;
    }

    .hero-text h1 {
        font-size: 1.4rem !important;
    }

    .product-title {
        font-size: 1.6rem !important;
    }

    .product-subtitle {
        font-size: 0.85rem !important;
    }

    .section-title {
        font-size: 1.2rem !important;
    }

    .section-subtitle {
        font-size: 0.8rem !important;
    }

    .btn {
        font-size: 0.8rem !important;
        padding: 0.55rem 1.1rem;
    }
    .product-image-wrapper::before {
        width: 320px;
        height: 320px;
        opacity: 0.45 !important;
        filter: blur(28px);
    }

    .product-image {
        width: 90%;
        max-width: 300px;
        filter: drop-shadow(0 15px 25px rgba(0,0,0,0.45));
    }
}
