/* 
    Arch Technology Solution - Modern Design System 
    Theme: Premium Dark / Future-Proof Tech
*/

:root {
    /* Theme Variables - Default Dark */
    --bg-main: #0B0F19;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-nav: rgba(11, 15, 25, 0.8);
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Constant Accents */
    --accent-purple: #8B5CF6;
    --accent-blue: #3B82F6;
    --accent-cyan: #06B6D4;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    /* Effects */
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-main: #F3F4F6;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F9FAFB;
    --bg-nav: rgba(255, 255, 255, 0.8);
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;
    --glass-border: rgba(0, 0, 0, 0.1);
    --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
    height: 50px;
    filter: brightness(1.2);
}

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

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

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    transform: rotate(15deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 140px;
    background: url('hero-bg.png') no-repeat center center/cover;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 15, 25, 0.4) 0%, var(--bg-main) 100%);
    z-index: 1;
}

[data-theme="light"] .hero::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, var(--bg-main) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

/* Section Common */
section {
    padding: 4rem 0;
    position: relative;
}

/* Philosophy / Why Us Section */
#about {
    background: var(--bg-main) !important;
}

.section-tag {
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 4rem;
}

/* Offering Card Layout */
.offering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.offering-card {
    background: var(--grad-surface);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 3rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.offering-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-8px);
    background: var(--bg-card-hover);
}

.offering-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.offering-card:hover::before {
    opacity: 1;
}

/* Feature Grid (Bento Style) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Case Study Section */
.case-study {
    background: var(--bg-main);
}

.case-study-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    padding: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 968px) {
    .case-study-card {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        gap: 2rem;
    }

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

    .bento-item.large,
    .bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

.metric-highlight {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Custom Border Accents for Bento */
.accent-cyan { border-color: rgba(6, 182, 212, 0.3); }
.accent-blue { border-color: rgba(59, 130, 246, 0.3); }
.accent-purple { border-color: rgba(139, 92, 246, 0.3); }

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Scroll Indicators/Decorations */
.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}