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

:root {
    --primary-color: #D4C952;
    --secondary-color: #2C3E50;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

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

.nav-applist-spotlight {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.nav-applist-kicker {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8b7d1f;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.logo {
    height: 120px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo {
    height: 90px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.nav-applist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.05rem 1.7rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    color: var(--secondary-color);
    background: linear-gradient(135deg, #f5e86d 0%, #d4c952 45%, #b7ad33 100%);
    box-shadow: 0 12px 28px rgba(212, 201, 82, 0.38);
    border: 1px solid rgba(44, 62, 80, 0.12);
    letter-spacing: 0.03em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    animation: applistGlow 2.2s ease-in-out infinite;
}

.nav-applist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(212, 201, 82, 0.48);
    filter: saturate(1.08);
}

@keyframes applistGlow {
    0%, 100% {
        box-shadow: 0 12px 28px rgba(212, 201, 82, 0.36);
    }
    50% {
        box-shadow: 0 16px 38px rgba(212, 201, 82, 0.55);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a252f 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 201, 82, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 201, 82, 0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo-img {
    max-width: 550px;
    width: 100%;
    height: auto;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

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

.hero-helper {
    display: inline-block;
    margin-bottom: 1.2rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.98rem;
    line-height: 1.4;
    animation: fadeIn 1.2s ease-out;
}

.hero-helper strong {
    color: var(--primary-color);
}

.tagline {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 18px 50px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 201, 82, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 201, 82, 0.5);
    background: #e0d560;
}

/* Stats Section */
.stats {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1rem;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 2;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1rem;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 201, 82, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-top-color: var(--secondary-color);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8eaed 100%);
}

.contact h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1rem;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    font-size: 1.2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-tagline {
    margin-top: 0.5rem;
    color: var(--primary-color);
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--text-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.app-access-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    z-index: 1200;
}

.app-access-modal.open {
    display: flex;
}

.app-access-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 27, 34, 0.58);
    backdrop-filter: blur(6px);
}

.app-access-panel {
    position: relative;
    width: min(100%, 460px);
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 28px 60px rgba(20, 27, 34, 0.28);
    border: 1px solid rgba(44, 62, 80, 0.08);
}

.app-access-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: rgba(44, 62, 80, 0.08);
    color: var(--secondary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.app-access-kicker {
    color: #8b7d1f;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.app-access-copy {
    color: var(--text-light);
    margin: 0.6rem 0 1.4rem;
}

.app-access-form {
    display: grid;
    gap: 0.85rem;
}

.app-access-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.app-access-input {
    width: 100%;
    border: 1px solid rgba(44, 62, 80, 0.16);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--text-dark);
    background: #fffef8;
}

.app-access-input[readonly] {
    color: #6a6429;
    background: #f7f3d8;
    font-weight: 700;
}

.app-access-error {
    min-height: 1.3rem;
    color: #b42318;
    font-size: 0.92rem;
    font-weight: 600;
}

.app-access-submit {
    margin-top: 0.35rem;
    border: none;
    border-radius: 999px;
    padding: 1rem 1.2rem;
    font: inherit;
    font-weight: 800;
    color: var(--secondary-color);
    background: linear-gradient(135deg, #f5e86d 0%, #d4c952 45%, #b7ad33 100%);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(212, 201, 82, 0.35);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-applist-spotlight {
        align-items: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .nav-applist-btn {
        width: min(100%, 320px);
    }

    .hero-helper {
        font-size: 0.92rem;
        padding: 0.75rem 0.95rem;
        border-radius: 18px;
    }
    
    .logo {
        height: 80px;
    }
    
    .navbar.scrolled .logo {
        height: 60px;
    }
    
    .hero-logo-img {
        max-width: 350px;
        padding: 1.5rem;
    }
    
    .tagline {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .hero-description {
        font-size: 1rem;
    }

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

    .cta-button {
        width: min(100%, 320px);
    }

    .app-access-panel {
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Work Style Section */
.work-style {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e0d560 100%);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(212, 201, 82, 0.3);
}

.work-style p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.8;
}

.work-style strong {
    font-weight: 700;
    font-size: 1.2rem;
}
