/*
 * Automatik Digital - Styles
 * Tailwind CSS v3.4.17 + Custom Styles
 */

/* ===== CSS Variables ===== */
:root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 234 89% 74%;
    --primary-foreground: 0 0% 100%;
    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 234 89% 74%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 234 89% 74%;
    --radius: 0.5rem;
    
    /* Custom colors for Automatik Digital */
    --navy: 231 47% 14%;
    --navy-light: 231 40% 20%;
    --purple-accent: 234 89% 74%;
    --green-accent: 142 76% 36%;
}

.dark {
    --background: 231 47% 14%;
    --foreground: 210 40% 98%;
    --card: 231 40% 20%;
    --card-foreground: 210 40% 98%;
    --popover: 231 40% 20%;
    --popover-foreground: 210 40% 98%;
    --primary: 234 89% 74%;
    --primary-foreground: 0 0% 100%;
    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;
    --accent: 234 89% 74%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;
    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 234 89% 74%;
}

/* ===== Base Reset ===== */
*, ::before, ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    line-height: inherit;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Inter', sans-serif;
}

* {
    border-color: hsl(var(--border));
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

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

b, strong {
    font-weight: bolder;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button, [role="button"] {
    cursor: pointer;
}

img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 2rem;
    padding-left: 2rem;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

/* ===== Utility Classes ===== */
.min-h-screen { min-height: 100vh; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { inset: 0px; }
.top-0 { top: 0px; }
.left-0 { left: 0px; }
.right-0 { right: 0px; }
.bottom-0 { bottom: 0px; }
.z-50 { z-index: 50; }
.z-10 { z-index: 10; }
.z-\[100\] { z-index: 100; }

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Grid */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-20 { padding-top: 5rem; }
.pb-4 { padding-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-20 { margin-top: 5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mr-2 { margin-right: 0.5rem; }

/* Sizing */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1 { width: 0.25rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-96 { width: 24rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-96 { height: 24rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-xl { max-width: 36rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-tight { line-height: 1.25; }

/* Colors */
.text-white { color: rgb(255 255 255); }
.text-gray-200 { color: rgb(229 231 235); }
.text-gray-300 { color: rgb(209 213 219); }
.text-gray-400 { color: rgb(156 163 175); }
.text-gray-500 { color: rgb(107 114 128); }
.text-purple-300 { color: rgb(216 180 254); }
.text-purple-400 { color: rgb(192 132 252); }
.text-purple-500 { color: rgb(168 85 247); }
.text-green-400 { color: rgb(74 222 128); }
.text-green-500 { color: rgb(34 197 94); }
.text-red-400 { color: rgb(248 113 113); }
.text-yellow-400 { color: rgb(250 204 21); }
.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-accent-foreground { color: hsl(var(--accent-foreground)); }

/* Backgrounds */
.bg-white { background-color: rgb(255 255 255); }
.bg-card { background-color: hsl(var(--card)); }
.bg-background { background-color: hsl(var(--background)); }
.bg-muted\/30 { background-color: hsl(var(--muted) / 0.3); }
.bg-purple-500 { background-color: rgb(168 85 247); }
.bg-purple-500\/10 { background-color: rgb(168 85 247 / 0.1); }
.bg-purple-500\/20 { background-color: rgb(168 85 247 / 0.2); }
.bg-green-500 { background-color: rgb(34 197 94); }
.bg-blue-500 { background-color: rgb(59 130 246); }
.bg-blue-600 { background-color: rgb(37 99 235); }
.bg-orange-500 { background-color: rgb(249 115 22); }
.bg-yellow-500 { background-color: rgb(234 179 8); }
.bg-sky-500 { background-color: rgb(14 165 233); }
.bg-white\/5 { background-color: rgb(255 255 255 / 0.05); }
.bg-white\/10 { background-color: rgb(255 255 255 / 0.1); }
.bg-\[hsl\(var\(--navy\)\)\] { background-color: hsl(var(--navy)); }
.bg-\[hsl\(var\(--navy\)\)\]\/95 { background-color: hsl(var(--navy) / 0.95); }
.bg-\[hsl\(var\(--navy-light\)\)\] { background-color: hsl(var(--navy-light)); }

/* Gradients */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-purple-500 { --tw-gradient-from: #a855f7; --tw-gradient-to: rgb(168 85 247 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-purple-500\/20 { --tw-gradient-from: rgb(168 85 247 / 0.2); --tw-gradient-to: rgb(168 85 247 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-blue-500\/20 { --tw-gradient-from: rgb(59 130 246 / 0.2); --tw-gradient-to: rgb(59 130 246 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-pink-500 { --tw-gradient-from: #ec4899; --tw-gradient-to: rgb(236 72 153 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-green-400 { --tw-gradient-from: #4ade80; --tw-gradient-to: rgb(74 222 128 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-orange-400 { --tw-gradient-from: #fb923c; --tw-gradient-to: rgb(251 146 60 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-blue-400 { --tw-gradient-from: #60a5fa; --tw-gradient-to: rgb(96 165 250 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-gray-400 { --tw-gradient-from: #9ca3af; --tw-gradient-to: rgb(156 163 175 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-purple-400 { --tw-gradient-from: #c084fc; --tw-gradient-to: rgb(192 132 252 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-pink-400 { --tw-gradient-from: #f472b6; --tw-gradient-to: rgb(244 114 182 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-blue-500 { --tw-gradient-to: #3b82f6; }
.to-blue-500\/20 { --tw-gradient-to: rgb(59 130 246 / 0.2); }
.to-orange-500 { --tw-gradient-to: #f97316; }
.to-green-600 { --tw-gradient-to: #16a34a; }
.to-orange-600 { --tw-gradient-to: #ea580c; }
.to-blue-600 { --tw-gradient-to: #2563eb; }
.to-gray-600 { --tw-gradient-to: #4b5563; }
.to-purple-600 { --tw-gradient-to: #9333ea; }
.to-pink-600 { --tw-gradient-to: #db2777; }

/* Borders */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-b-4 { border-bottom-width: 4px; }
.border-t { border-top-width: 1px; }
.border-border { border-color: hsl(var(--border)); }
.border-white\/10 { border-color: rgb(255 255 255 / 0.1); }
.border-purple-400\/30 { border-color: rgb(192 132 252 / 0.3); }
.border-purple-500 { border-color: rgb(168 85 247); }
.border-purple-500\/30 { border-color: rgb(168 85 247 / 0.3); }
.border-purple-500\/50 { border-color: rgb(168 85 247 / 0.5); }
.border-input { border-color: hsl(var(--input)); }

/* Border Radius */
.rounded-sm { border-radius: calc(var(--radius) - 4px); }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-green-500\/30 { --tw-shadow-color: rgb(34 197 94 / 0.3); --tw-shadow: var(--tw-shadow-colored); }
.shadow-blue-500\/30 { --tw-shadow-color: rgb(59 130 246 / 0.3); --tw-shadow: var(--tw-shadow-colored); }
.shadow-sky-500\/30 { --tw-shadow-color: rgb(14 165 233 / 0.3); --tw-shadow: var(--tw-shadow-colored); }
.shadow-purple-500\/50 { --tw-shadow-color: rgb(168 85 247 / 0.5); --tw-shadow: var(--tw-shadow-colored); }

/* Aspect Ratios */
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[4\/3\] { aspect-ratio: 4/3; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Effects */
.blur-3xl { filter: blur(64px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }

/* Transitions */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }

/* Fill */
.fill-current { fill: currentColor; }
.fill-yellow-400 { fill: #facc15; }

/* Flex shrink */
.flex-shrink-0 { flex-shrink: 0; }
.shrink-0 { flex-shrink: 0; }

/* Positioning for floating elements */
.top-32 { top: 8rem; }
.top-40 { top: 10rem; }
.top-1\/4 { top: 25%; }
.top-2\/3 { top: 66.666667%; }
.bottom-1\/3 { bottom: 33.333333%; }
.bottom-1\/4 { bottom: 25%; }
.left-10 { left: 2.5rem; }
.left-16 { left: 4rem; }
.left-1\/4 { left: 25%; }
.right-10 { right: 2.5rem; }
.right-20 { right: 5rem; }
.right-1\/4 { right: 25%; }

/* ===== Custom Utilities ===== */
.gradient-text {
    background-image: linear-gradient(to right, #c084fc, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(129, 140, 248, 0.3); }
    50% { box-shadow: 0 0 40px rgba(129, 140, 248, 0.6); }
}

@keyframes pulse {
    50% { opacity: .5; }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite 2s;
}

.animate-float-delayed-2 {
    animation: float 6s ease-in-out infinite 4s;
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== Hover States ===== */
.hover\:bg-purple-600:hover { background-color: rgb(147 51 234); }
.hover\:bg-accent:hover { background-color: hsl(var(--accent)); }
.hover\:bg-white\/20:hover { background-color: rgb(255 255 255 / 0.2); }
.hover\:text-white:hover { color: rgb(255 255 255); }
.hover\:text-purple-400:hover { color: rgb(192 132 252); }
.hover\:text-accent-foreground:hover { color: hsl(var(--accent-foreground)); }
.hover\:border-purple-500\/50:hover { border-color: rgb(168 85 247 / 0.5); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.hover\:shadow-purple-500\/10:hover { --tw-shadow-color: rgb(168 85 247 / 0.1); --tw-shadow: var(--tw-shadow-colored); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:no-underline:hover { text-decoration-line: none; }

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ===== Focus States ===== */
.focus-visible\:outline-none:focus-visible { outline: 2px solid transparent; outline-offset: 2px; }
.focus-visible\:ring-2:focus-visible { box-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); }
.focus-visible\:ring-ring:focus-visible { --tw-ring-color: hsl(var(--ring)); }
.focus-visible\:ring-offset-2:focus-visible { --tw-ring-offset-width: 2px; }

.ring-offset-background { --tw-ring-offset-color: hsl(var(--background)); }
.disabled\:pointer-events-none:disabled { pointer-events: none; }
.disabled\:opacity-50:disabled { opacity: 0.5; }

/* ===== SVG Icons ===== */
.\[\&_svg\]\:pointer-events-none svg { pointer-events: none; }
.\[\&_svg\]\:size-4 svg { width: 1rem; height: 1rem; }
.\[\&_svg\]\:shrink-0 svg { flex-shrink: 0; }

/* ===== Media Queries ===== */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:bottom-0 { bottom: 0px; }
    .sm\:right-0 { right: 0px; }
    .sm\:top-auto { top: auto; }
    .sm\:flex-col { flex-direction: column; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:left-20 { left: 5rem; }
    .md\:left-32 { left: 8rem; }
    .md\:right-32 { right: 8rem; }
    .md\:right-40 { right: 10rem; }
    .md\:max-w-\[420px\] { max-width: 420px; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* ===== Whitespace & Display ===== */
.whitespace-nowrap { white-space: nowrap; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }

/* ===== Rotate ===== */
.rotate-180 { transform: rotate(180deg); }
