/* ============================================
   ONEYEP TECH - Global App Development
   Modern Minimalist Design with Tech Elegance
   ============================================ */

/* ============================================
   1. CSS Variables & Theme
   ============================================ */

:root {
    /* Colors */
    --primary: #1e293b;
    --primary-foreground: #f8fafc;
    --accent: #06b6d4;
    --accent-foreground: #ffffff;
    --background: #f8fafc;
    --foreground: #0f172a;
    --card: #ffffff;
    --card-foreground: #0f172a;
    --secondary: #f1f5f9;
    --secondary-foreground: #1e293b;
    --muted: #e2e8f0;
    --muted-foreground: #64748b;
    --border: #e2e8f0;
    --input: #e2e8f0;
    --ring: #06b6d4;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-display: 'Poppins', system-ui, sans-serif;
    
    /* Spacing & Radius */
    --radius: 0.5rem;
}

/* ============================================
   2. Global Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
}

h1 {
    font-size: 2.25rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.75rem;
    }
}

h2 {
    font-size: 1.875rem;
}

@media (min-width: 768px) {
    h2 {
        font-size: 2.25rem;
    }
}

h3 {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    h3 {
        font-size: 1.875rem;
    }
}

/* ============================================
   3. Container & Layout
   ============================================ */

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
        max-width: 1280px;
    }
}

/* ============================================
   4. Utility Classes
   ============================================ */

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.z-50 {
    z-index: 50;
}

.w-full {
    width: 100%;
}

.bg-background\/95 {
    background-color: rgba(248, 250, 252, 0.95);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.border-b {
    border-bottom: 1px solid;
}

.border-border {
    border-color: var(--border);
}

.flex {
    display: flex;
    min-height: 0;
    min-width: 0;
}

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

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.h-10 {
    height: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.rounded-lg {
    border-radius: calc(var(--radius) + 0.25rem);
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--primary), var(--accent));
}

.text-white {
    color: #ffffff;
}

.text-lg {
    font-size: 1.125rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.font-display {
    font-family: var(--font-display);
}

.text-foreground {
    color: var(--foreground);
}

.text-muted-foreground {
    color: var(--muted-foreground);
}

.text-accent {
    color: var(--accent);
}

.hover\:text-accent:hover {
    color: var(--accent);
}

.hover\:bg-secondary:hover {
    background-color: var(--secondary);
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:py-40 {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }
    
    .md\:py-24 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    
    .md\:text-4xl {
        font-size: 2.25rem;
    }
    
    .md\:text-6xl {
        font-size: 3.75rem;
    }
    
    .md\:text-xl {
        font-size: 1.25rem;
    }
    
    .md\:block {
        display: block;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
}

.hidden {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-col {
    flex-direction: column;
}

.leading-relaxed {
    line-height: 1.625;
}

.leading-tight {
    line-height: 1.25;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.inline-block {
    display: inline-block;
}

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

/* ============================================
   5. Button Styles
   ============================================ */

.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 1.5rem;
    border-radius: calc(var(--radius) + 0.25rem);
    font-weight: 500;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.btn-primary:active {
    transform: scale(0.95);
}

/* ============================================
   6. Section Styles
   ============================================ */

.bg-background {
    background-color: var(--background);
}

.bg-secondary\/30 {
    background-color: rgba(241, 245, 249, 0.3);
}

.bg-foreground {
    background-color: var(--foreground);
}

.text-primary-foreground {
    color: var(--primary-foreground);
}

.bg-accent\/10 {
    background-color: rgba(6, 182, 212, 0.1);
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-90 {
    opacity: 0.9;
}

.opacity-70 {
    opacity: 0.7;
}

/* ============================================
   7. Link Styles
   ============================================ */

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: var(--accent);
}

/* ============================================
   8. Header Styles
   ============================================ */

header {
    background-color: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
}

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

header a {
    color: var(--foreground);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 300ms;
}

header a:hover {
    color: var(--accent);
}

#mobileMenuBtn {
    display: none;
    padding: 0.5rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    border-radius: calc(var(--radius) + 0.25rem);
    transition: background-color 300ms;
}

#mobileMenuBtn:hover {
    background-color: var(--secondary);
}

@media (max-width: 767px) {
    #mobileMenuBtn {
        display: block;
    }
    
    .hidden {
        display: none;
    }
}

#mobileMenu {
    border-top: 1px solid var(--border);
    background-color: var(--background);
}

#mobileMenu.active {
    display: block;
}

/* ============================================
   9. Footer Styles
   ============================================ */

footer {
    background-color: var(--foreground);
    color: var(--primary-foreground);
    padding: 2rem 0;
}

footer h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

footer p {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* ============================================
   10. Responsive Design
   ============================================ */

@media (max-width: 767px) {
    .hidden {
        display: none !important;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .py-24 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}
