/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #C4A265;
    --gold-light: #F5EDD8;
    --gold-dark: #A68842;
    --primary: #030213;
    --background: #ffffff;
    --text: #1a1a1a;
    --text-muted: #717182;
    --border: #e5e5e5;
    --radius: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.language-dropdown {
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background: var(--gold);
    color: white;
}

.flag {
    font-size: 1.2rem;
}

.dropdown-icon {
    font-size: 0.65rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.language-toggle.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 150px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: none;
    background: white;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--primary);
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.dropdown-item:hover {
    background: var(--gold-light);
    color: var(--primary);
}

.dropdown-item.active {
    background: var(--gold);
    color: white;
    font-weight: 600;
}

.dropdown-item .flag {
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color: white;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 162, 101, 0.3);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--gold);
    opacity: 0.1;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 500px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image .screenshot-frame {
    max-width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    max-height: none;
    height: 600px;
    object-fit: cover;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

/* Features Grid (4 cards) */
.features {
    background: var(--background);
}

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

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--gold);
}

/* Gallery */
.gallery {
    background: var(--gold-light);
}

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

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

.carousel-caption {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    min-height: 2rem;
}

.carousel-slide {
    position: relative;
    margin-bottom: 2rem;
}

.screenshot-frame {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.screenshot-frame.clickable-image {
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshot-frame.clickable-image:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}


.screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 650px;
    object-fit: cover;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--gold);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--gold-dark);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: var(--gold);
    width: 32px;
    border-radius: 6px;
}

.carousel-dot:hover {
    background: var(--gold);
}

/* More Features (Chips) */
.more-features {
    background: white;
}

.features-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.chip {
    background: var(--gold-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 500;
    color: var(--primary);
    transition: all 0.3s ease;
    cursor: default;
    border: 2px solid transparent;
}

.chip:hover {
    background: white;
    border-color: var(--gold);
    transform: scale(1.05);
}

.chip-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    background: var(--background);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.1);
}

.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.g-recaptcha {
    transform: scale(1);
    transform-origin: 0 0;
}

@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: 0 0;
    }
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    display: none;
    font-weight: 500;
}

.form-status.show {
    display: block;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0;
    border-top: 2px solid var(--gold);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links,
.footer-socials {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a,
.footer-socials a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-socials a:hover {
    color: var(--gold);
}

.footer-copy {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .navbar-left {
        gap: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero {
        padding: 3rem 0;
        margin-top: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        margin-top: 1rem;
    }

    .hero-image img {
        height: 450px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    section {
        padding: 3rem 0;
    }

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

    .carousel-container {
        padding: 1.5rem 0;
    }

    .carousel-caption {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .screenshot-frame img {
        max-height: 400px;
    }

    .carousel-controls {
        gap: 1.5rem;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .features-chips {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links,
    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        position: static;
        padding: 0.75rem 0;
    }

    .navbar-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .navbar-left {
        width: 100%;
        justify-content: space-between;
    }

    .navbar-container > .btn {
        display: none;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image img {
        height: 350px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .screenshots-scroll {
        gap: 0.75rem;
    }

    .screenshot-item {
        flex: 0 0 200px;
    }

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

    .footer-content {
        flex-direction: column;
    }
}
