/* Base Styles & Variables */
:root {
    --bg-color: #f7fcf9;
    --text-primary: #1e3a29;
    --text-secondary: #4a6d59;
    --primary-green: #2ecc71;
    /* Vivid but elegant green */
    --primary-light: #58d68d;
    --primary-dark: #27ae60;
    --accent-color: #f39c12;
    /* Subtle contrast */

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px rgba(46, 204, 113, 0.1);

    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --bg-color: #0f1712;
    --text-primary: #e8f4ed;
    --text-secondary: #9cb5a6;
    --primary-green: #27ae60;
    --primary-light: #2ecc71;
    --primary-dark: #1e8449;

    --glass-bg: rgba(20, 30, 24, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

html,
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    max-width: 100%;
    font-size: 93%;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Background Gradients */
.bg-gradient-1,
.bg-gradient-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
}

.bg-gradient-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
}

.bg-gradient-2 {
    bottom: 20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(88, 214, 141, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-highlight {
    color: var(--primary-dark);
    font-weight: 800;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

.glass-header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
}

.btn:active,
.btn-theme-toggle:active,
.hamburger:active,
.ar-button:active,
.feature-card:active {
    transform: scale(0.95) !important;
}

.btn,
.btn-theme-toggle,
.hamburger,
.ar-button {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, background 0.3s ease, color 0.3s ease !important;
}

.btn-secondary {
    background: white;
    color: var(--primary-dark);
    border: 1px solid var(--primary-green);
}

.btn-secondary:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
}

/* Minimal Header */
.minimal-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
}

.floating-logo {
    height: 60px;
    filter: drop-shadow(0 2px 4px rgba(46, 204, 113, 0.4));
}

/* Hero Section */
.hero-section {
    padding: 180px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.benefits-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.benefit-badge {
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.hero-media {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-container {
    padding: 1rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-image-container:hover {
    transform: rotate(0deg) translateY(-10px);
}

.hero-image {
    width: 100%;
    border-radius: 16px;
    aspect-ratio: 4/5;
    object-fit: cover;
    animation: float 6s ease-in-out infinite;
}

.floating-price-tag {
    position: absolute;
    bottom: -20px;
    left: -30px;
    padding: 0.8rem 1.2rem;
    display: flex;
    flex-direction: column;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-price-tag .item-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.floating-price-tag .item-price {
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 1.05rem;
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

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

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

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

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

.feature-card {
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.25);
}

.icon-wrapper {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(39, 174, 96, 0.1));
    color: var(--primary-dark);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

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



.feature-card p {
    color: var(--text-secondary);
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.step-item {
    position: relative;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.4);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
}

.step-content {
    padding: 3rem 1.5rem 2rem;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
}

.step-item:hover .step-content {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.25);
}

.step-item:hover .step-number {
    transform: translateX(-50%) translateY(-8px) scale(1.03);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.6);
}

.step-content i {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

/* AR Section */
.ar-section {
    padding: 100px 0;
    background: linear-gradient(to right, rgba(46, 204, 113, 0.05), transparent);
}

.ar-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.ar-viewer {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    height: 500px;
    position: relative;
    padding: 1rem;
}

model-viewer {
    width: 100%;
    height: 80%;
    background-color: transparent;
    --poster-color: transparent;
}

.ar-button {
    background-color: white;
    border-radius: 50px;
    border: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

#ar-prompt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(46, 204, 113, 0.5);
    animation: swipe 2s infinite ease-in-out;
    pointer-events: none;
}

@keyframes swipe {
    0% {
        transform: translate(-50%, -50%) translateX(-20px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

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

.viewer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-color);
    border-radius: 16px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.viewer-footer h4 {
    margin: 0;
}

.viewer-footer span {
    font-weight: 700;
    color: var(--primary-dark);
}

.ar-text {
    flex: 1;
}

.ar-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.ar-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.ar-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.ar-benefits li {
    margin-bottom: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-instruction {
    font-size: 0.9rem !important;
    background: rgba(243, 156, 18, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-container {
    display: flex;
    padding: 0 !important;
    overflow: hidden;
}

.contact-info {
    flex: 1;
    padding: 4rem;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
    color: white;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-form {
    flex: 1.2;
    padding: 4rem;
    background: transparent;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    background: var(--glass-bg);
    color: var(--text-primary);
    transition: var(--transition);
}

[data-theme="dark"] .form-group input {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(46, 204, 113, 0.2);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: var(--bg-color);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Modern Footer */
.modern-footer {
    padding: 4rem 0 2rem;
    background: transparent;
    border-top: 1px solid rgba(46, 204, 113, 0.1);
    margin-top: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}

.modern-footer-logo {
    height: 60px;
    filter: drop-shadow(0 2px 10px rgba(46, 204, 113, 0.2));
    margin-right: -5px;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0;
    font-weight: 700;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    color: var(--primary-dark);
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.footer-socials a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(46, 204, 113, 0.1);
    padding-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {

    .hero-container,
    .ar-container,
    .contact-container {
        flex-direction: column;
    }

    .hero-section {
        padding-top: 150px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .ar-text {
        text-align: center;
    }

    .ar-benefits li {
        justify-content: center;
    }

    .contact-form,
    .contact-info {
        padding: 2rem;
    }
}

@media (max-width: 768px) {

    /* Removed Navbar Mobile Configuration */

    /* Typography and Spacing */
    .hero-section {
        padding-top: 140px;
    }

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

    .floating-price-tag {
        left: 10px;
        bottom: -10px;
        padding: 0.8rem 1rem;
    }

    .features-section,
    .ar-section,
    .contact-section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .ar-viewer {
        height: 350px;
    }

    .info-item {
        font-size: 1rem;
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .logo img {
        height: 50px;
    }

    .viewer-footer {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .benefits-badges {
        flex-wrap: nowrap;
        gap: 0.4rem;
        justify-content: center;
    }

    .benefit-badge {
        padding: 0.4rem 0.5rem;
        font-size: 0.65rem;
        white-space: nowrap;
    }

    .ar-features ul {
        width: fit-content;
        margin: 0 auto;
    }

    .ar-container {
        gap: 1.5rem;
    }

    .ar-viewer {
        height: 450px;
        margin: 0;
        width: 100%;
        border-radius: 24px;
        border: 1px solid var(--glass-border);
    }

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

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-card:last-child {
        grid-column: span 2;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .steps-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 1rem;
        margin-top: 2.5rem;
    }

    .step-content {
        padding: 2.2rem 0.8rem 1rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        top: -16px;
    }

    .step-content i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .step-content h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }
}

/* Theme Toggle Button */
.btn-theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.btn-theme-toggle:hover {
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-dark);
}

/* Dark Mode Button Overrides */
[data-theme="dark"] .btn-primary {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .btn-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #f7fcf9;
}

[data-theme="dark"] .btn-secondary {
    background: transparent;
    color: #f7fcf9;
    border-color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
}

/* --- Apple-Style Animation Utilities --- */

/* Scroll Reveal Classes - GPU Optimized */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Stagger Utilities */
.delay-100 {
    transition-delay: 80ms;
}

.delay-200 {
    transition-delay: 160ms;
}

.delay-300 {
    transition-delay: 240ms;
}

.delay-400 {
    transition-delay: 320ms;
}

/* Page Load Animation Sequence - GPU Optimized */
@keyframes fadeUpInSequence {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

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

.animate-load-1 {
    animation: fadeUpInSequence 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
    will-change: opacity, transform;
}

.animate-load-2 {
    animation: fadeUpInSequence 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.1s forwards;
    opacity: 0;
    will-change: opacity, transform;
}

.animate-load-3 { animation: fadeUpInSequence 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards; opacity: 0; will-change: opacity, transform; }
.animate-load-4 { animation: fadeUpInSequence 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards; opacity: 0; will-change: opacity, transform; }

/* Success Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 90%;
    width: 400px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}
.success-icon {
    font-size: 4rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}
.modal-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}
.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}