/* Landing Page Specific Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --surface-glass: rgba(255, 255, 255, 0.7);
    --surface-glass-border: rgba(255, 255, 255, 0.5);
    --hero-bg: #0f172a;
    --text-hero: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-body: #f8fafc;
    --primary-color: #4f46e5;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
}

.btn:active {
    transform: translateY(1px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 50px;
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: #4338ca;
    border-color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    text-decoration: none;
    line-height: 1;
}

.logo span {
    color: #60a5fa;
    /* Blue from Admin */
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 50;
}

.navbar .logo {
    color: white;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.nav-link:hover {
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 120px;
    padding-bottom: 100px;
    background: var(--hero-bg);
    color: var(--text-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 50% 50%, #1e1b4b 0%, #0f172a 50%);
    z-index: 0;
}

/* Abstract Blobs */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.hero-section::before {
    background: #4f46e5;
    top: -100px;
    left: -100px;
}

.hero-section::after {
    background: #7c3aed;
    bottom: 0px;
    right: -100px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 5rem;
}

/* Glass Preview */
.hero-preview {
    perspective: 1000px;
}

.preview-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateX(10deg);
    max-width: 900px;
    margin: 0 auto;
}

.window-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.window-controls span:nth-child(1) {
    background: #ef4444;
}

.window-controls span:nth-child(2) {
    background: #eab308;
}

.window-controls span:nth-child(3) {
    background: #22c55e;
}

.preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.p-card {
    background: rgba(255, 255, 255, 0.05);
    height: 150px;
    border-radius: 0.5rem;
}

.p-card.wide {
    grid-column: span 2;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background: var(--bg-body);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* Bento Grid Features */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    grid-auto-flow: dense;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smooth hover */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Hover Effects */
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.bento-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(-3deg);
}

/* Grid Spans */
.span-2 {
    grid-column: span 2;
}

.span-row-2 {
    grid-row: span 2;
}

/* Typography & Icons within Cards */
.bento-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.bento-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: #f1f5f9;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

/* Specific Card Styling (Optional) */
.bento-card.highlight {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border: none;
}

.bento-card.highlight h3,
.bento-card.highlight p {
    color: white;
}

.bento-card.highlight .icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .span-2,
    .span-row-2 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Footer */
.footer {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand .logo {
    color: var(--text-main);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}

.contact-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-card p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 3rem;
}

.contact-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}