@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #0d0d0e;
    --bg-panel: rgba(30, 30, 35, 0.45);
    --bg-panel-solid: #16161a;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(230, 161, 92, 0.3);
    
    --brand-brown: #4A3B32;
    --brand-brown-light: #6b584d;
    --accent-gold: #E6A15C;
    --accent-gold-hover: #f1b373;
    
    --text-primary: #f8f9fa;
    --text-secondary: #9ea3ae;
    --text-muted: #646a78;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Layout & Effects */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glow-shadow: 0 0 20px rgba(230, 161, 92, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* Common Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 60px auto;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--border-hover);
    box-shadow: var(--glow-shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #0d0d0e;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(230, 161, 92, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* Navigation Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 13, 14, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 14px 0;
    background: rgba(13, 13, 14, 0.9);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.logo img {
    height: 32px;
}

.logo span {
    color: var(--accent-gold);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(74, 59, 50, 0.15) 0%, rgba(230, 161, 92, 0.03) 70%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.hero-image-wrapper {
    width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover img {
    transform: scale(1.02);
}

/* Service Overview Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-link:hover {
    color: var(--accent-gold-hover);
}

.card-link span {
    transition: var(--transition-smooth);
}

.card-link:hover span {
    transform: translateX(4px);
}

/* Scenarios Section */
.scenarios-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.scenario-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.scenario-row:nth-child(even) .scenario-text {
    order: 2;
}

.scenario-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(230, 161, 92, 0.15);
    margin-bottom: 10px;
}

.scenario-text h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.scenario-text p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.scenario-card {
    padding: 30px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
}

/* Pricing Page & Comparative Matrix */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.plan-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.plan-card.popular {
    border-color: var(--accent-gold);
    box-shadow: 0 8px 32px rgba(230, 161, 92, 0.1);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--accent-gold);
    color: #0d0d0e;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 30px;
    transform: rotate(45deg);
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
    min-height: 48px;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li::before {
    content: '✓';
    color: var(--accent-gold);
    font-weight: bold;
}

.plan-card .btn {
    width: 100%;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 800px;
}

.comparison-table th, .comparison-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.02);
}

.comparison-table tr:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.comparison-table td:first-child {
    font-weight: 500;
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

/* Process Section */
.process-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--brand-brown);
    border: 2px solid var(--accent-gold);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.15rem;
    transition: var(--transition-smooth);
}

.process-step:hover .process-step-num {
    background-color: var(--accent-gold);
    color: #0d0d0e;
    box-shadow: 0 0 15px rgba(230, 161, 92, 0.6);
}

.process-step h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Team & Testimonials Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.team-card {
    padding: 30px;
    text-align: center;
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-brown) 0%, var(--accent-gold) 100%);
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

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

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

.testimonial-card {
    padding: 40px;
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(230, 161, 92, 0.2);
    line-height: 1;
    margin-bottom: 10px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-name {
    font-family: var(--font-heading);
    font-weight: 600;
}

.client-company {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ Section (Accordion) */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: rgba(255, 255, 255, 0.01);
}

.faq-answer-inner {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq-toggle-icon {
    font-size: 1.25rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* arbitrary large value */
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* Contact Form & Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    font-size: 1.25rem;
    color: var(--accent-gold);
}

.contact-detail-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-detail-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-form-wrapper {
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 14px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(230, 161, 92, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

.form-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.form-status.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* Service Detail Page Specifics */
.detail-hero {
    padding-top: 180px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, rgba(74, 59, 50, 0.08) 0%, transparent 100%);
}

.detail-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.detail-feature-card {
    padding: 30px;
}

.detail-steps {
    margin-bottom: 80px;
}

.detail-deliverables h3 {
    margin-bottom: 30px;
}

.deliverable-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.deliverable-card {
    padding: 30px;
}

.deliverable-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--accent-gold);
}

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

/* Footer Section */
.footer {
    background-color: #080809;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--accent-gold);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-social-link:hover {
    background-color: var(--accent-gold);
    color: #0d0d0e;
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(13, 13, 14, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 30px 24px;
        border-bottom: 1px solid var(--border-color);
        gap: 20px;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-links.active ~ .nav-actions {
        display: flex;
        position: absolute;
        top: calc(100% + 200px);
        left: 50%;
        transform: translateX(-50%);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .scenario-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .scenario-row:nth-child(even) .scenario-text {
        order: initial;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .process-flow {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-step::after {
        display: none;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .detail-features {
        grid-template-columns: 1fr;
    }
    
    .deliverable-list {
        grid-template-columns: 1fr;
    }
}
