/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fira Code', 'Courier New', monospace !important;
}

body {
    font-family: 'Fira Code', 'Courier New', monospace;
    line-height: 1.6;
    color: #DA4040;
    background-color: #000000;
    font-feature-settings: "liga" 1, "calt" 1;
}

/* Utility classes */
.min-h-screen { min-height: 100vh; }
.bg-black { background-color: #000000; }
.bg-gray-900\/20 { background-color: rgba(17, 24, 39, 0.2); }
.bg-gray-900\/50 { background-color: rgba(17, 24, 39, 0.5); }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); }
.text-red-400 { color: #DA4040; }
.text-red-300 { color: #E56565; }
.text-white { color: #ffffff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-300 { color: #d1d5db; }
.text-green-400 { color: #4ade80; }
.bg-red-400 { background-color: #DA4040; }
.bg-red-300 { background-color: #E56565; }
.bg-transparent { background-color: transparent; }
.border-red-400 { border-color: #DA4040; }
.border-red-900\/30 { border-color: rgba(127, 29, 29, 0.3); }
.border-gray-800 { border-color: #1f2937; }
.border-gray-700 { border-color: #374151; }
.font-mono { font-family: 'Fira Code', 'Courier New', monospace; }
.font-bold { font-weight: 700; font-family: 'Fira Code', 'Courier New', monospace; }
.font-semibold { font-weight: 600; font-family: 'Fira Code', 'Courier New', monospace; }
.font-medium { font-weight: 500; font-family: 'Fira Code', 'Courier New', monospace; }

/* Angular design - no rounded corners */
.rounded { border-radius: 0 !important; }
.rounded-sm { border-radius: 0 !important; }
.rounded-md { border-radius: 0 !important; }
.rounded-lg { border-radius: 0 !important; }
.rounded-xl { border-radius: 0 !important; }
.rounded-full { border-radius: 0 !important; }

/* Force all elements to have no border radius */
*, *::before, *::after {
    border-radius: 0 !important;
}

/* Additional specific overrides */
.service-item, .principle-item, .card-black, 
button, input, textarea, select, .buy-btn, 
.service-btn, .hero-btn, .popular-badge {
    border-radius: 0 !important;
}

/* Layout utilities */
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.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-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-6 { padding: 1.5rem; }
.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-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }

/* Flex utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Text utilities */
.text-xs { font-size: 0.75rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-sm { font-size: 0.875rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-lg { font-size: 1.125rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-xl { font-size: 1.25rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-2xl { font-size: 1.5rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-3xl { font-size: 1.875rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-4xl { font-size: 2.25rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-center { text-align: center; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.z-10 { z-index: 10; }

/* Border utilities */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }

/* Display utilities */
.hidden { display: none; }
.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-24 { width: 6rem; }
.h-16 { height: 4rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-0\.5 { height: 0.125rem; }
.h-px { height: 1px; }

/* Other utilities */
.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-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.duration-150 { transition-duration: 150ms; }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* Component styles */
.hover-link:hover {
    color: #E56565 !important;
    text-shadow: 0 0 5px rgba(229, 101, 101, 0.5);
}

.email-link {
    color: #DA4040 !important;
    text-shadow: 0 0 5px rgba(218, 64, 64, 0.5);
}

.email-link:hover {
    color: #E56565 !important;
    text-shadow: 0 0 5px rgba(229, 101, 101, 0.5);
}

/* Hero section grid - angular design */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, #DA4040 1px, transparent 1px),
        linear-gradient(to bottom, #DA4040 1px, transparent 1px);
    background-size: 2.5rem 2.5rem;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.1) 70%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Brightness layer for hover effect */
.grid-brightness {
    background-image: 
        linear-gradient(to right, #DA4040 1px, transparent 1px),
        linear-gradient(to bottom, #DA4040 1px, transparent 1px);
    background-size: 2.5rem 2.5rem;
    mask-image: radial-gradient(350px circle at 50% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0.3) 70%, transparent 90%);
    opacity: 0;
    transition: opacity 0.1s ease;
    pointer-events: none;
    z-index: 2;
}

.hero-section > div {
    position: relative;
    z-index: 3;
}

/* Hero section grid for new page structure */
.hero-section-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.hero-section-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, #DA4040 1px, transparent 1px),
        linear-gradient(to bottom, #DA4040 1px, transparent 1px);
    background-size: 2.5rem 2.5rem;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.08) 70%, transparent 100%);
    opacity: 0.6;
    pointer-events: none;
}

/* Button styles */
.service-btn {
    border: 1px solid #DA4040;
    color: #DA4040;
    background: transparent;
    padding: 0.5rem 1rem;
    transition: all 0.15s ease;
    font-family: 'Fira Code', 'Courier New', monospace;
    text-decoration: none;
    font-weight: 500;
}

.service-btn:hover {
    border-color: #E56565;
    color: #E56565;
}

.hero-btn {
    border: 2px solid #DA4040;
    padding: 0.75rem 2rem;
    font-weight: 700;
    transition: all 0.15s ease;
    text-decoration: none;
    font-family: 'Fira Code', 'Courier New', monospace;
    display: inline-block;
}

.hero-btn:hover {
    border-color: #E56565;
    box-shadow: 0 0 10px rgba(218, 64, 64, 0.3);
}

.buy-btn {
    width: 100%;
    border: 2px solid #DA4040;
    color: #DA4040;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.15s ease;
    background: transparent;
    text-decoration: none !important;
    font-family: 'Fira Code', 'Courier New', monospace;
    text-align: center;
    display: inline-block;
}

.buy-btn:hover {
    border-color: #E56565;
    color: #E56565;
    box-shadow: 0 0 10px rgba(218, 64, 64, 0.2);
}

/* Service and principle card styles */
.service-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #374151;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 0 !important;
}

.service-item:hover {
    border-color: #DA4040;
    box-shadow: 0 4px 20px rgba(218, 64, 64, 0.1);
}

.service-item.popular {
    border-color: #DA4040;
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -8px;
    right: 1rem;
    background: #DA4040;
    color: #000000;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0 !important;
}

.principle-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #374151;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-radius: 0 !important;
}

.principle-item:hover {
    border-color: #DA4040;
}

.card-black {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #374151;
    padding: 1.5rem;
    border-radius: 0 !important;
}

.icon {
    color: #DA4040;
    flex-shrink: 0;
}

.title {
    color: #ffffff;
    font-weight: 600;
}

.service-item .title:hover,
.principle-item .title:hover {
    color: #DA4040;
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Animation styles */
.service-item, .principle-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease;
}

/* Responsive design */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .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-4xl { font-size: 2.25rem; }
    .md\:text-6xl { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

@media (max-width: 767px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:inline { display: inline; }
} 