/* VulnScribe Coming Soon Website Styles */

/* CSS Custom Properties for consistent theming */
:root {
    /* Dark theme colors */
    --bg-primary: #0f172a;
    /* slate-900 */
    --bg-secondary: #1e293b;
    /* slate-800 */
    --bg-tertiary: #334155;
    /* slate-700 */

    /* Text colors */
    --text-primary: #f8fafc;
    /* slate-50 */
    --text-secondary: #cbd5e1;
    /* slate-300 */
    --text-muted: #94a3b8;
    /* slate-400 */

    /* Brand colors - matching main app */
    --violet-600: #7c3aed;
    --violet-700: #6d28d9;
    --indigo-600: #4f46e5;
    --indigo-700: #4338ca;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--violet-600) 0%, var(--indigo-600) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--violet-700) 0%, var(--indigo-700) 100%);

    /* Shadows */
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-violet: 0 10px 15px -3px rgba(124, 58, 237, 0.2), 0 4px 6px -2px rgba(124, 58, 237, 0.1);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Admin / dashboard shell — tasks board, edit, users, home (shared with client dashboard) */
    --admin-content-max-width: 72rem;
    --admin-padding-inline: clamp(1rem, 4vw, var(--spacing-lg));
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Container and layout */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/* Background gradient overlay */
.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Hero section */
.hero {
    text-align: center;
    width: 100%;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

/* Logo container */
.logo-container {
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(var(--shadow-violet));
    transition: transform 0.3s ease, filter 0.3s ease;
    background: transparent;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 20px 25px -5px rgba(124, 58, 237, 0.3));
}

/* Content section */
.content {
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.tagline {
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    text-align: center;
}

.description {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Status badge */
.status {
    margin-bottom: var(--spacing-lg);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-xl);
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: white;
    box-shadow: var(--shadow-violet);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Features grid */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-violet);
    border-color: var(--violet-600);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.feature h3 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    text-align: center;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--bg-tertiary);
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.footer a {
    color: var(--violet-600);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-note {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Responsive design */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
        padding: var(--spacing-xl);
    }

    .logo {
        max-width: 400px;
    }

    .tagline {
        font-size: var(--font-size-3xl);
    }

    .description {
        font-size: var(--font-size-xl);
    }

    .features {
        max-width: 900px;
        gap: var(--spacing-xl);
    }

    .feature {
        padding: var(--spacing-xl);
    }

    .feature-icon {
        font-size: 3rem;
    }

    .feature h3 {
        font-size: var(--font-size-lg);
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
        padding: var(--spacing-lg);
    }

    .logo {
        max-width: 350px;
    }

    .tagline {
        font-size: var(--font-size-2xl);
    }

    .description {
        font-size: var(--font-size-lg);
    }

    .features {
        max-width: 800px;
        gap: var(--spacing-lg);
    }

    .feature {
        padding: var(--spacing-lg);
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature h3 {
        font-size: var(--font-size-base);
    }

    .status-badge {
        font-size: var(--font-size-base);
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .container {
        padding: var(--spacing-sm);
        min-height: auto;
    }

    .logo {
        max-width: 250px;
    }

    .tagline {
        font-size: var(--font-size-lg);
    }

    .description {
        font-size: var(--font-size-sm);
    }

    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--spacing-sm);
        max-width: none;
    }

    .feature {
        padding: var(--spacing-sm);
    }

    .feature-icon {
        font-size: 1.5rem;
    }

    .feature h3 {
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 480px) {
    .container {
        padding: var(--spacing-xs);
    }

    .logo {
        max-width: 200px;
    }

    .tagline {
        font-size: var(--font-size-base);
    }

    .description {
        font-size: var(--font-size-xs);
    }

    .logo-container {
        margin-bottom: var(--spacing-md);
    }

    .content {
        margin-bottom: var(--spacing-lg);
    }

    .features {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .feature {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .feature-icon {
        font-size: 1.25rem;
        margin-bottom: 0;
    }

    .feature h3 {
        font-size: var(--font-size-sm);
    }

    .status-badge {
        font-size: var(--font-size-sm);
        padding: var(--spacing-xs) var(--spacing-sm);
    }
}

@media (max-width: 360px) {
    .status-badge {
        font-size: var(--font-size-xs);
        padding: 0.35rem 0.6rem;
        gap: 0.35rem;
    }

    .feature {
        padding: 0.625rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #e2e8f0;
        --text-muted: #cbd5e1;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .logo:hover {
        transform: none;
    }

    .feature:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .container::before {
        display: none;
    }

    .status-badge {
        background: transparent;
        border: 1px solid #000;
        color: #000;
    }

    .feature {
        background: transparent;
        border: 1px solid #000;
        break-inside: avoid;
    }
}
