/* ============================================================ */
/* KSHUDHANSHU DEVELOPERS - COMPLETE UNIFIED STYLESHEET */
/* ALL STYLING, SIZES, FONTS, COLORS, ANIMATIONS */
/* ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Space+Grotesk:wght@500;700&display=swap');

/* ============================================================
   GLOBAL STYLES
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body { 
    background-color: #0a0a0a; 
    color: #e5e7eb; 
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { 
    font-family: 'Space Grotesk', sans-serif; 
}

/* ============================================================
   NAVIGATION
============================================================ */

nav {
    position: fixed;
    width: 100%;
    z-index: 50;
    margin-top: 16px;
    padding-left: 24px;
    padding-right: 24px;
    left: 0;
    right: 0;
}

.nav-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    margin-left: auto;
    margin-right: auto;
    max-width: 80rem;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #ffffff;
}

.nav-logo .accent {
    color: #007BFF;
}

.nav-links {
    display: none;
    gap: 32px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007BFF;
}

.nav-links a.active {
    color: #007BFF;
}

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

.nav-button {
    display: none;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 9999px;
}

@media (min-width: 640px) {
    .nav-button {
        display: block;
    }
}

/* ============================================================
   GLASSMORPHISM STYLES
============================================================ */

.glass { 
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 16px;
    transition: border-color 0.3s;
}

.glass:hover {
    border-color: rgba(0, 123, 255, 0.5);
}

/* ============================================================
   BUTTONS
============================================================ */

.btn-primary { 
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%); 
    transition: transform 0.2s, box-shadow 0.2s;
    color: white; 
    border: none;
    cursor: pointer;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 9999px;
}

.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4); 
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e5e7eb;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
}

.btn-deploy {
    width: 100%;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #e5e7eb;
    font-weight: 700;
    font-size: 12px;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background 0.3s;
}

.btn-deploy:hover {
    background: rgba(0, 123, 255, 0.6);
}

/* ============================================================
   TEXT UTILITIES
============================================================ */

.neon-accent { 
    color: #007BFF; 
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5); 
}

.gradient-text {
    background: linear-gradient(to right, #007BFF, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }

.text-accent { color: #007BFF; }
.text-accent-purple { color: #a855f7; }

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */

h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

@media (min-width: 1024px) {
    h1 {
        font-size: 80px;
    }
}

h1.text-6xl {
    font-size: 42px;
}

@media (min-width: 768px) {
    h1.text-6xl {
        font-size: 56px;
    }
}

h1.text-5xl {
    font-size: 36px;
}

@media (min-width: 768px) {
    h1.text-5xl {
        font-size: 42px;
    }
}

h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

h2.text-2xl {
    font-size: 24px;
}

h2.text-3xl {
    font-size: 28px;
}

h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

h3.text-xl {
    font-size: 20px;
}

h3.text-2xl {
    font-size: 24px;
}

p {
    line-height: 1.6;
    margin-bottom: 16px;
}

p.text-xs {
    font-size: 12px;
}

p.text-sm {
    font-size: 14px;
}

p.text-base {
    font-size: 16px;
}

p.text-lg {
    font-size: 18px;
}

p.text-xl {
    font-size: 20px;
}

span.text-xs {
    font-size: 12px;
}

span.text-sm {
    font-size: 14px;
}

span.font-mono {
    font-family: 'Courier New', monospace;
}

/* ============================================================
   LAYOUT CONTAINERS
============================================================ */

section, main {
    position: relative;
}

.section-hero {
    padding-top: 160px;
    padding-bottom: 80px;
    padding-left: 24px;
    padding-right: 24px;
    text-align: center;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.section-features {
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 24px;
    padding-right: 24px;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.section-toggle {
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 24px;
    padding-right: 24px;
    text-align: center;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

main {
    padding-top: 160px;
    padding-bottom: 80px;
    padding-left: 24px;
    padding-right: 24px;
}

main.main-default {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

main.main-small {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

main.main-large {
    max-width: 96rem;
    margin-left: auto;
    margin-right: auto;
}

.header-section {
    margin-bottom: 80px;
}

.header-section h1 {
    margin-bottom: 24px;
}

.header-section p {
    font-size: 18px;
    opacity: 0.6;
    max-width: 48rem;
}

/* ============================================================
   GRID LAYOUTS
============================================================ */

.grid {
    display: grid;
    gap: 24px;
    width: 100%;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

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

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

@media (max-width: 767px) {
    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

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

.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

/* ============================================================
   CARD STYLES
============================================================ */

.card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.card:hover {
    border-color: rgba(0, 123, 255, 0.5);
    transform: translateY(-4px);
}

.card-with-icon {
    padding: 32px;
}

.card-icon {
    color: #007BFF;
    margin-bottom: 24px;
    width: 48px;
    height: 48px;
    transition: transform 0.3s;
}

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

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.card-description {
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 24px;
    line-height: 1.6;
}

.card-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    gap: 8px;
    margin-right: 8px;
}

/* ============================================================
   BORDER STYLES
============================================================ */

.border-t-2 {
    border-top: 2px solid;
}

.border-t-blue {
    border-top-color: #007BFF;
}

.border-t-purple {
    border-top-color: #a855f7;
}

.border-l-4 {
    border-left: 4px solid;
}

.border-l-blue {
    border-left-color: #007BFF;
}

.border-l-white {
    border-left-color: rgba(255, 255, 255, 0.2);
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-white-5 {
    border-color: rgba(255, 255, 255, 0.05);
}

.border-b {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.border-t {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================================
   TOGGLE SWITCH
============================================================ */

.toggle-switch {
    width: 60px;
    height: 30px;
    background: #333;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
}

.toggle-knob {
    width: 24px;
    height: 24px;
    background: #007BFF;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: left 0.3s;
}

.toggle-switch.active .toggle-knob {
    left: 33px;
}

/* ============================================================
   FOOTER
============================================================ */

footer {
    padding-top: 80px;
    padding-bottom: 40px;
    padding-left: 24px;
    padding-right: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #0a0a0a;
    text-align: center;
}

footer.full-width {
    background-color: #0a0a0a;
}

.footer-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 14px;
    opacity: 0.5;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 48px;
}

.footer-contacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 48px;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

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

.footer-contact-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    text-align: left;
}

.footer-contact-label {
    display: block;
    color: #007BFF;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: -0.03em;
}

.footer-contact-link {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-link:hover {
    color: #007BFF;
}

.footer-copyright {
    font-size: 10px;
    opacity: 0.3;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-link {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: color 0.3s, opacity 0.3s;
}

.footer-link:hover {
    color: #007BFF;
    opacity: 1;
}

/* ============================================================
   TABLE STYLES
============================================================ */

.table-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 48px;
}

.table-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #007BFF;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

table th {
    padding: 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

table td {
    padding: 24px;
    font-size: 14px;
}

table td.highlight {
    font-weight: 700;
    color: #007BFF;
}

.py-20 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.px-0 {
    padding-left: 0;
    padding-right: 0;
}
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }
.mb-20 { margin-bottom: 80px; }

.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }

.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.p-10 { padding: 40px; }
.p-12 { padding: 48px; }

.px-3 { padding-left: 12px; padding-right: 12px; }
.px-6 { padding-left: 24px; padding-right: 24px; }

.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }

.space-y-3 > * + * {
    margin-top: 12px;
}

.space-y-6 > * + * {
    margin-top: 24px;
}

.flex {
    display: flex;
}

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

.flex-wrap {
    flex-wrap: wrap;
}

.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-8 { gap: 32px; }

.justify-center {
    justify-content: center;
}

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

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

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

@media (max-width: 767px) {
    .md-flex-row {
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .md-flex-row {
        flex-direction: row;
    }
}

/* ============================================================
   WIDTH & MAX-WIDTH
============================================================ */

.w-full {
    width: 100%;
}

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

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

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   VISIBILITY & DISPLAY
============================================================ */

.hidden {
    display: none;
}

.inline {
    display: inline;
}

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

.block {
    display: block;
}

@media (max-width: 640px) {
    .sm-hidden {
        display: none;
    }
}

@media (min-width: 640px) {
    .sm-inline {
        display: inline;
    }
}

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

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

/* ============================================================
   SPECIAL SECTIONS
============================================================ */

.hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 56px;
    }
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.6;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-cta {
        flex-direction: row;
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

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

/* ============================================================
   OVERRIDE TAILWIND WHERE NEEDED
============================================================ */

.line-clamp-2 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.min-h-150 {
    min-height: 150px;
}

.min-h-200 {
    min-height: 200px;
}

/* ============================================================
   RESPONSIVE UTILITIES
============================================================ */

@media (max-width: 640px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .nav-logo .sm-hidden {
        display: none;
    }
}

@media (min-width: 640px) {
    .nav-logo .sm-hidden {
        display: inline;
    }
}

/* ============================================================
   COLOR UTILITIES
============================================================ */

.bg-accent {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
}

.text-blue-400 {
    color: #007BFF;
}

.text-blue-500 {
    color: #007BFF;
}

.text-purple-500 {
    color: #a855f7;
}

.bg-black-40 {
    background: rgba(0, 0, 0, 0.4);
}

.bg-white-5 {
    background: rgba(255, 255, 255, 0.05);
}

.border-white-20 {
    border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   TRANSITIONS & ANIMATIONS
============================================================ */

.transition {
    transition: all 0.3s ease;
}

.transition-colors {
    transition: color 0.3s, border-color 0.3s;
}

.transition-transform {
    transition: transform 0.3s;
}

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

.hover-lift:hover {
    transform: translateY(-2px);
}

/* ============================================================
   FONT SIZES
============================================================ */

.text-10px { font-size: 10px; }
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 28px; }

/* ============================================================
   FONT WEIGHTS
============================================================ */

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* ============================================================
   LETTER SPACING
============================================================ */

.tracking-tighter { letter-spacing: -0.05em; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.08em; }
.tracking-widest { letter-spacing: 0.2em; }

/* ============================================================
   ROUNDED CORNERS
============================================================ */

.rounded { border-radius: 4px; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }

/* ============================================================
   OVERFLOW
============================================================ */

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* ============================================================
   TEXT ALIGNMENT
============================================================ */

.min-w-fit {
    min-width: fit-content;
}

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

/* ============================================================
   POSITION UTILITIES
============================================================ */

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

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

/* ============================================================
   Z-INDEX
============================================================ */

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

/* ============================================================
   END OF STYLESHEET
============================================================ */
