/* ============================================
   AXEOCON Corporate Website Styles
   Theme: Dark background with Lavender/Purple text
   Accents: Red/White motion graphics and textures
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #020617;      /* slate-950 */
    --bg-secondary: #0f172a;    /* slate-900 */
    --bg-card: rgba(15, 23, 42, 0.4);
    --text-primary: #e2e8f0;    /* slate-200 */
    --text-secondary: #94a3b8;  /* slate-400 */
    --text-muted: #64748b;      /* slate-500 */
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-900: #581c87;
    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --red-900: #7f1d1d;
    --white: #ffffff;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(220, 38, 38, 0.4);
    --transition: all 0.3s ease;
}

/* --- Global Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

::selection {
    background: rgba(239, 68, 68, 0.3);
    color: #fecaca;
}

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

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

/* --- Animations --- */
@keyframes drift-slow {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(10deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-medium {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; filter: blur(40px); }
    50% { opacity: 0.6; filter: blur(50px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-drift-slow { animation: drift-slow 15s infinite ease-in-out; }
.animate-drift-medium { animation: drift-medium 10s infinite ease-in-out; }
.animate-pulse-glow { animation: pulse-glow 6s infinite ease-in-out; }
.animate-fadeIn { animation: fadeIn 0.6s ease-out forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }

/* --- Motion Background --- */
.motion-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.motion-background .base {
    position: absolute;
    inset: 0;
    background-color: var(--bg-primary);
}

.motion-background .tech-grid {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    opacity: 0.5;
}

.motion-background .scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(220, 38, 38, 0.03) 3px,
        rgba(220, 38, 38, 0.03) 4px
    );
    opacity: 0.3;
}

.motion-background .orb {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
}

.motion-background .orb-1 {
    top: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: rgba(127, 29, 29, 0.2);
    filter: blur(100px);
    animation: drift-slow 15s infinite ease-in-out;
}

.motion-background .orb-2 {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(88, 28, 135, 0.2);
    filter: blur(100px);
    animation: drift-medium 10s infinite ease-in-out;
}

.motion-background .orb-3 {
    top: 40%;
    right: 20%;
    width: 16rem;
    height: 16rem;
    background: rgba(220, 38, 38, 0.1);
    filter: blur(60px);
    animation: pulse-glow 6s infinite ease-in-out;
}

.motion-background .orb-4 {
    bottom: 30%;
    left: 10%;
    width: 12rem;
    height: 12rem;
    background: rgba(255, 255, 255, 0.05);
    filter: blur(50px);
    animation: drift-slow 15s infinite ease-in-out;
    animation-delay: 2s;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navigation --- */
.main-nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    cursor: pointer;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--purple-600), var(--red-600));
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.1);
}

.logo-icon span {
    color: var(--white);
    font-weight: 700;
}

.logo-text {
    color: var(--white);
}

.logo-text span {
    color: var(--purple-400);
    transition: color 0.3s ease;
}

.logo:hover .logo-text span {
    color: var(--red-400);
}

/* Desktop Navigation Links */
.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--red-400);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-500);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.dropdown-toggle svg {
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    padding-top: 1.5rem;
    width: 14rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content {
    background: var(--bg-secondary);
    border: 1px solid rgba(71, 85, 105, 1);
    border-radius: 0.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-500), var(--red-500));
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(127, 29, 29, 0.2);
    color: var(--white);
    padding-left: 1.75rem;
}

.dropdown-view-all {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red-400);
    background: rgba(2, 6, 23, 0.5);
    transition: background 0.3s ease;
}

.dropdown-view-all:hover {
    background: rgba(127, 29, 29, 0.2);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-secondary);
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    animation: slideDown 0.3s ease;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

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

.mobile-dropdown-title {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red-400);
}

.mobile-dropdown-links {
    padding-left: 1rem;
    border-left: 2px solid rgba(71, 85, 105, 0.5);
    margin-bottom: 1rem;
}

.mobile-dropdown-links a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.mobile-dropdown-links a:hover {
    color: var(--white);
}

/* Nav CTA Button */
.nav-cta {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .mobile-toggle {
        display: none;
    }
    
    .nav-cta {
        display: block;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--purple-600);
    color: var(--white);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
}

.btn-primary:hover {
    background: rgba(127, 29, 29, 0.8);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.4);
    border-color: rgba(239, 68, 68, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--purple-300, #d8b4fe);
    border: 1px solid rgba(192, 132, 252, 0.5);
}

.btn-outline:hover {
    border-color: var(--red-500);
    color: #fecaca;
    background: rgba(127, 29, 29, 0.3);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 1rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 9999px;
    background: rgba(127, 29, 29, 0.1);
    backdrop-filter: blur(12px);
}

.hero-pill .dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--red-500);
    animation: pulse 2s ease-in-out infinite;
}

.hero-pill span {
    color: rgba(254, 202, 202, 0.8);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title .gradient-text {
    background: linear-gradient(90deg, var(--purple-400), #f472b6, var(--red-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }
}

/* --- Sections --- */
.section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.section-gradient {
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.5), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--purple-400);
}

.section-divider {
    height: 4px;
    width: 5rem;
    background: linear-gradient(90deg, var(--purple-500), var(--red-500));
    margin: 0 auto;
    border-radius: 9999px;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 42rem;
    margin: 1rem auto 0;
}

/* --- Cards --- */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(147, 51, 234, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card:hover {
    border-color: var(--border-hover);
    background: rgba(15, 23, 42, 0.6);
    transform: translateY(-0.5rem);
}

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

.card-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--purple-400);
    transition: color 0.3s ease;
}

.card:hover .card-icon {
    background: rgba(127, 29, 29, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
}

.card:hover .card-icon svg {
    color: var(--red-400);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 10;
}

.card:hover .card-title {
    color: #fef2f2;
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    position: relative;
    z-index: 10;
    transition: color 0.3s ease;
}

.card:hover .card-description {
    color: var(--text-primary);
}

/* --- Grid Layouts --- */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

@media (min-width: 1024px) {
    .grid-cols-lg-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-lg-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-cols-lg-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Product/Service Cards --- */
.product-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(15, 23, 42, 0.7);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.product-icon {
    padding: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    background: rgba(127, 29, 29, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
}

.product-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--purple-400);
    transition: color 0.3s ease;
}

.product-card:hover .product-icon svg {
    color: var(--red-400);
}

.product-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: #fef2f2;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.product-features {
    margin-bottom: 2rem;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
}

.product-feature::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--red-500);
    border-radius: 50%;
}

/* --- Filter Pills --- */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-pill {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    background: rgba(15, 23, 42, 0.5);
    color: var(--text-secondary);
    border: 1px solid rgba(71, 85, 105, 1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-pill:hover {
    border-color: var(--purple-500);
    color: var(--purple-300, #d8b4fe);
}

.filter-pill.active {
    background: var(--red-600);
    color: var(--white);
    border-color: var(--red-500);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    gap: 4rem;
}

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

.contact-info h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
}

.contact-info > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item-icon {
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    color: var(--purple-400);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-item-icon {
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--red-400);
}

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(225deg, rgba(239, 68, 68, 0.2), transparent);
    border-top-right-radius: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(71, 85, 105, 1);
    border-radius: 0.75rem;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--red-500);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

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

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

/* --- About Page --- */
.page-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.page-header-line {
    width: 4rem;
    height: 4px;
    background: var(--red-500);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.about-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

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

.about-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--purple-300, #d8b4fe), #fecaca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-content p.highlight {
    font-size: 1.125rem;
}

.about-features {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.about-features::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background: rgba(239, 68, 68, 0.1);
    border-bottom-left-radius: 100px;
}

.about-features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 6rem;
    height: 6rem;
    background: rgba(147, 51, 234, 0.1);
    border-top-right-radius: 80px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    color: #f3e8ff;
    position: relative;
    z-index: 10;
    transition: color 0.3s ease;
}

.about-feature-item:hover {
    color: var(--white);
}

.about-feature-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(30, 41, 59, 1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.about-feature-item:hover .about-feature-icon {
    background: rgba(239, 68, 68, 0.2);
}

.about-feature-icon svg {
    width: 1rem;
    height: 1rem;
    color: var(--red-400);
}

/* Quote Box */
.quote-box {
    background: linear-gradient(90deg, rgba(88, 28, 135, 0.1), rgba(15, 23, 42, 0.5), rgba(127, 29, 29, 0.1));
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    opacity: 0.3;
}

.quote-box h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.quote-box p {
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-secondary);
    position: relative;
    z-index: 10;
}

/* --- Portfolio --- */
.portfolio-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.portfolio-overlay p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* --- Vendor/Partner Logos --- */
.vendor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .vendor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .vendor-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.vendor-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.3s ease;
}

.vendor-card:hover {
    border-color: var(--border-hover);
    background: rgba(15, 23, 42, 0.7);
    transform: translateY(-4px);
}

.vendor-card img {
    max-height: 50px;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.vendor-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Privacy/Policy Pages --- */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 2rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.policy-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.policy-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-content ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-secondary);
}

.policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    position: relative;
    z-index: 10;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-icon {
    width: 1.5rem;
    height: 1.5rem;
    background: var(--red-600);
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon span {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
}

.footer-logo-text {
    color: var(--text-secondary);
    font-weight: 700;
}

.footer-logo-text span {
    color: var(--red-500);
}

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

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--red-400);
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--white); }
.text-muted { color: var(--text-secondary); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.relative { position: relative; }
.z-10 { z-index: 10; }

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

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.5);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}
/* ============================================
   Service/Product Carousel Styles
   ============================================ */

/* Carousel Container */
.services-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.services-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.services-carousel::-webkit-scrollbar {
    display: none;
}

/* Infinite carousel specific */
.infinite-carousel {
    overflow: hidden;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--red-600);
    border-color: var(--red-500);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Image Card Style */
.image-card {
    flex: 0 0 320px;
    min-width: 320px;
    border-radius: 1.5rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
}

.image-card:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(239, 68, 68, 0.15);
}

.image-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.image-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover .image-card-image img {
    transform: scale(1.1);
}

.image-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95), transparent);
}

/* Card with icon fallback */
.image-card-icon {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.2) 0%, rgba(88, 28, 135, 0.2) 100%);
}

.image-card-icon-inner {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-card:hover .image-card-icon-inner {
    background: rgba(127, 29, 29, 0.3);
    border-color: rgba(239, 68, 68, 0.3);
    transform: scale(1.1);
}

.image-card-icon-inner svg {
    width: 40px;
    height: 40px;
    color: var(--purple-400);
    transition: color 0.3s ease;
}

.image-card:hover .image-card-icon-inner svg {
    color: var(--red-400);
}

.image-card-content {
    padding: 1.5rem;
    position: relative;
}

.image-card-badge {
    position: absolute;
    top: -2.5rem;
    right: 1.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 5;
}

.image-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.image-card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.image-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.image-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    color: var(--text-secondary);
}

.image-card-tag svg {
    width: 12px;
    height: 12px;
}

.image-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-card-btn:hover {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--red-600) 100%);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.image-card-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.image-card-btn:hover svg {
    transform: translateX(4px);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--red-500);
    transform: scale(1.2);
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .services-carousel-wrapper {
        padding: 0 1rem;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .image-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
}