/* 
   Kaikaku Consulting - Premium Design System 
   Theme: Radical Change (Bold, Professional, Dynamic)
*/

:root {
    /* Color Palette */
    --color-bg-primary: #0f172a;
    /* Deep Navy/Slate */
    --color-bg-secondary: #00051a;
    /* Darker Slate for sections */
    --color-text-primary: #f8fafc;
    /* Stark White */
    --color-text-secondary: #94a3b8;
    /* Muted Blue-Grey */
    --color-accent: #06b6d4;
    /* Cyan for "Radical Change" */
    --color-accent-hover: #0891b2;
    --color-gold: #fbbf24;
    /* Subtle gold */

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

.text-accent {
    color: var(--color-accent);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Component: Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 68, 239, 0.062);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 222, 68, 0.411);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-text-secondary);
    color: var(--color-text-primary);
}

.btn-outline:hover {
    border-color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.glass-panel {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.main-nav a:not(.btn) {
    color: var(--color-text-secondary);
    font-weight: 500;
}

.main-nav a:not(.btn):hover {
    color: var(--color-text-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Dynamic background glow */
.hero-bg-overlay {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: var(--color-bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: transform var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.6);
}

.icon-box {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background-color: var(--color-bg-secondary);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

.about-stat {
    padding: 3rem;
    background: linear-gradient(135deg, rgba(68, 239, 239, 0.2), transparent);
    border: 1px solid rgba(68, 239, 239, 0.082);
    border-radius: var(--border-radius);
    text-align: center;
}

.about-stat h3 {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
    background-color: #020617;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-cta {
    text-align: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta h2 {
    margin-bottom: 1rem;
}

.footer-cta .btn {
    margin-top: 1.5rem;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col p,
.footer-col a {
    color: var(--color-text-secondary);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .main-nav {
        display: none;
        /* Add JS toggle later */
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-bg-primary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* Animation Check styles */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Component: Forms */
input, input[type="text"], input[type="password"], input[type="email"], select, textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
    color: white;
    font-family: var(--font-main);
    transition: var(--transition-speed);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Hidden Access Button */
.hidden-access {
    opacity: 0.1;
    color: var(--color-text-secondary);
    text-decoration: none;
    margin-left: 0.5rem;
    transition: opacity 0.3s ease;
}

.hidden-access:hover {
    opacity: 1;
    color: var(--color-accent);
}