/* ===== Custom Properties ===== */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #111111;
    --gold: #c9a84c;
    --gold-light: #d4af37;
    --gold-dark: #b8972f;
    --white: #ffffff;
    --white-soft: #e0e0e0;
    --gray: #888888;
    --gray-dark: #333333;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', 'Segoe UI', sans-serif;
    --nav-height: 80px;
    --container-max: 1200px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--white-soft);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Section Shared ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold) !important;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    display: block;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--white-soft);
    border-radius: 4px;
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all var(--transition);
    margin-left: 8px;
}

.lang-toggle:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

.nav-cta {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--bg-primary) !important;
    border-radius: 4px;
    margin-left: 8px;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1920&q=80') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--white-soft);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--bg-primary) !important;
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold) !important;
    transform: translateY(-2px);
}

/* ===== Services ===== */
.services {
    padding: 120px 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--gray-dark);
    border-radius: 8px;
    padding: 48px 36px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ===== Dashboards ===== */
.dashboards {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.dashboards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dashboard-card {
    background: var(--bg-primary);
    border: 1px solid var(--gray-dark);
    border-radius: 8px;
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition);
}

.dashboard-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.dashboard-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    color: var(--gold);
}

.dashboard-icon svg {
    width: 100%;
    height: 100%;
}

.dashboard-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.dashboard-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== About ===== */
.about {
    padding: 120px 0;
    background: var(--bg-primary);
}

.about-intro {
    margin-bottom: 80px;
}

.about-text {
    font-size: 1.1rem;
    color: var(--white-soft);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.9;
}

/* Founder */
.founder {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    padding: 60px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--gray-dark);
}

.founder-image {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 6/7;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.founder-content p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

.founder-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brand-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 20px;
    background: rgba(201, 168, 76, 0.05);
}

/* Team */
.team {
    text-align: center;
}

.team-description {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.team-area {
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--gray-dark);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white-soft);
    transition: all var(--transition);
}

.team-area:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ===== Contact ===== */
.contact {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--gray-dark);
    border-radius: 8px;
    transition: all var(--transition);
}

.contact-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    color: var(--gold);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

.contact-card a {
    color: var(--gray);
    transition: color var(--transition);
}

.contact-card a:hover {
    color: var(--gold);
}

/* ===== Footer ===== */
.footer {
    padding: 48px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--gray-dark);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--gray);
}

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

.footer-copy {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Hero staggered animation */
.hero .reveal:nth-child(1) { transition-delay: 0.1s; }
.hero .reveal:nth-child(2) { transition-delay: 0.3s; }
.hero .reveal:nth-child(3) { transition-delay: 0.5s; }

/* Service cards stagger */
.service-card.reveal:nth-child(1) { transition-delay: 0s; }
.service-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.service-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.service-card.reveal:nth-child(4) { transition-delay: 0.3s; }

/* Dashboard cards stagger */
.dashboard-card.reveal:nth-child(1) { transition-delay: 0s; }
.dashboard-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.dashboard-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.dashboard-card.reveal:nth-child(4) { transition-delay: 0.24s; }
.dashboard-card.reveal:nth-child(5) { transition-delay: 0.32s; }
.dashboard-card.reveal:nth-child(6) { transition-delay: 0.4s; }

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1024px) {
    .founder {
        grid-template-columns: 300px 1fr;
        gap: 40px;
        padding: 40px;
    }

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

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

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

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

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-links a {
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--gray-dark);
    }

    .lang-toggle {
        margin: 20px 0 0 0;
    }

    .nav-cta {
        margin: 16px 0 0 0;
        text-align: center;
        width: 100%;
    }

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

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

    .founder {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .founder-image {
        max-width: 300px;
        margin: 0 auto;
    }

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

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

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

    .services,
    .dashboards,
    .about,
    .contact {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .service-card {
        padding: 32px 24px;
    }
}
