/* ============================== */
/* DAWBAR - Main Stylesheet */
/* Optimized for performance & SEO */
/* ============================== */

/* ============================== */
/* CSS VARIABLES */
/* ============================== */
:root {
    /* Colors */
    --color-bg: #020817;
    --color-surface: #0F172A;
    --color-surface-hover: #1E293B;
    --color-primary: #3B82F6;
    --color-primary-hover: #2563EB;
    --color-accent: #0EA5E9;
    --color-text: #F8FAFC;
    --color-text-muted: #94A3B8;
    --color-text-dim: #64748B;
    --color-border: rgba(255, 255, 255, 0.05);
    --color-border-hover: rgba(59, 130, 246, 0.3);
    --color-success: #10B981;
    --color-error: #EF4444;
    
    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);
    --shadow-glow-hover: 0 0 40px rgba(59, 130, 246, 0.5);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ============================== */
/* RESET & BASE */
/* ============================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Focus states for accessibility */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background-color: rgba(59, 130, 246, 0.3);
    color: var(--color-text);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--color-surface-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* ============================== */
/* UTILITY CLASSES */
/* ============================== */
.container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

.text-gradient {
    background: linear-gradient(to right, var(--color-text), #93C5FD, #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.required {
    color: var(--color-error);
}

/* Honeypot - hidden from users */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* ============================== */
/* BUTTONS */
/* ============================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    box-shadow: var(--shadow-glow-hover);
    transform: scale(1.02);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-border-hover);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-icon-small {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon-small {
    transform: translateX(4px);
}

/* ============================== */
/* HEADER */
/* ============================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: transparent;
    transition: background-color var(--transition-base), backdrop-filter var(--transition-base);
}

.header.scrolled {
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-md);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon span {
    transform: rotate(-45deg);
    color: var(--color-text);
    font-weight: 700;
    font-size: 0.875rem;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

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

/* Desktop Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: var(--color-text-muted);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-text);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition-fast);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    padding: var(--space-md);
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-border);
}

.nav-mobile.active {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

.nav-link-mobile {
    display: block;
    padding: var(--space-sm);
    color: var(--color-text-muted);
    font-weight: 500;
}

.nav-link-mobile:hover {
    color: var(--color-text);
}

.btn-mobile {
    margin-top: var(--space-sm);
}

/* ============================== */
/* HERO SECTION */
/* ============================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
    overflow: hidden;
}

/* Hero Background Image */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 8, 23, 0.3) 0%,
        rgba(2, 8, 23, 0.25) 50%,
        rgba(15, 23, 42, 0.2) 100%
    );
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: rgba(59, 130, 246, 0.12);
    filter: blur(120px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding: var(--space-xl) 0 var(--space-3xl);
}

.hero-content {
    max-width: 800px;
	padding-left: 5px;
	padding-right: 5px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.hero-badge span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
}

.feature-icon {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.feature-pill span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Hero CTA */
.hero-cta {
    margin-top: var(--space-md);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text-dim);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================== */
/* PRODUCTS SECTION */
/* ============================== */
.products {
    padding: var(--space-3xl) 0;
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(30, 58, 138, 0.05), transparent);
    pointer-events: none;
}

/* Section Header */
.section-header {
    margin-bottom: var(--space-2xl);
}

.section-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-text-muted);
    max-width: 600px;
}

/* Products Grid */
.products-grid {
    display: grid;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Product Card */
.product-card {
    position: relative;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: border-color var(--transition-slow);
}

.product-card:hover {
    border-color: var(--color-border-hover);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), transparent);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

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

.product-card-inner {
    position: relative;
    z-index: 1;
    padding: var(--space-lg);
}

/* Product Header */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.product-logo {
    width: 96px;
    height: 96px;
    padding: 0;
    background-color: #FFFFFF;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
	padding: 3px;
}

.product-icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

/* Product Content */
.product-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.product-description {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* Product Features */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.product-feature {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
}

/* Product Button */
.btn-product {
    width: 100%;
}

/* ============================== */
/* CONTACT SECTION */
/* ============================== */
.contact {
    padding: var(--space-3xl) 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(30, 58, 138, 0.1), transparent);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    gap: var(--space-2xl);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Contact Info */
.contact-info {
    position: relative;
    z-index: 1;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

/* Contact Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon svg {
    color: var(--color-primary);
}

.contact-card-content {
    display: flex;
    flex-direction: column;
}

.contact-card-label {
    font-size: 0.875rem;
    color: var(--color-text-dim);
}

.contact-card-value {
    color: var(--color-text);
    font-weight: 500;
}

a.contact-card-value:hover {
    color: var(--color-primary);
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
    z-index: 1;
}

.contact-form {
    padding: var(--space-lg);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

/* Form Groups */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-dim);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-select option {
    background-color: var(--color-surface);
    color: var(--color-text);
}

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

/* Checkbox */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.form-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox-label a {
    color: var(--color-primary);
}

.form-checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    margin-top: var(--space-md);
    padding: 1rem;
}

/* Success Message */
.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-2xl);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    min-height: 400px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.success-icon svg {
    color: var(--color-success);
}

.success-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.success-text {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    max-width: 300px;
}

/* ============================== */
/* FOOTER */
/* ============================== */
.footer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Footer Brand */
.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-description {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 320px;
}

/* Footer Navigation */
.footer-nav nav,
.footer-address {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.footer-link {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-style: normal;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-text);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-lg);
    margin-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-copyright {
    color: var(--color-text-dim);
    font-size: 0.875rem;
}

.footer-link-small {
    color: var(--color-text-dim);
    font-size: 0.875rem;
}

.footer-link-small:hover {
    color: var(--color-text);
}

/* ============================== */
/* SUCCESS/ERROR MESSAGES */
/* ============================== */
.message {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    text-align: center;
}

.message-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--color-success);
}

.message-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--color-error);
}

/* ============================== */
/* ANIMATIONS (CSS only) */
/* ============================== */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================== */
/* PRINT STYLES */
/* ============================== */
@media print {
    .header,
    .hero-glow,
    .hero-glow-secondary,
    .scroll-indicator,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
