/* Enta — Custom styles that complement Tailwind */

/* Hero gradient */
.hero-gradient {
    background-color: #10201c;
    background-image: linear-gradient(135deg, #10201c 0%, #1b463b 54%, #3a2c18 100%);
}

/* Accent gradient for highlights */
.accent-gradient {
    background: linear-gradient(135deg, #6edbd0 0%, #f6b756 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.enta-nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: color 0.18s ease, background-color 0.18s ease;
    text-decoration: none;
}

.enta-nav-link:hover,
.enta-nav-link:focus-visible {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.enta-mobile-nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.65rem 0.75rem;
    border-radius: 0.5rem;
    transition: color 0.18s ease, background-color 0.18s ease;
    text-decoration: none;
}

.enta-mobile-nav-link:hover,
.enta-mobile-nav-link:focus-visible {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

/* Card hover effect */
.feature-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Code block styling */
.code-block {
    background: #10201c;
    color: #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.7;
    overflow-x: auto;
}
.code-block .keyword { color: #c084fc; }
.code-block .string { color: #34d399; }
.code-block .comment { color: #64748b; }
.code-block .function { color: #6edbd0; }

/* Grid pattern background */
.grid-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Glow effect */
.glow {
    box-shadow: 0 0 60px rgba(15, 159, 143, 0.18);
}

.demo-surface {
    background: linear-gradient(180deg, rgba(16, 32, 28, 0.12) 0%, rgba(16, 32, 28, 0.62) 100%);
}

.app-preview-shell {
    background: rgba(9, 23, 20, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0.75rem;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.app-preview-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.52);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

.app-preview-header span {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: #ef6a5b;
}

.app-preview-header span:nth-child(2) { background: #f6b756; }
.app-preview-header span:nth-child(3) { background: #45c986; }
.app-preview-header strong {
    margin-left: 0.55rem;
    font-weight: 500;
}

.app-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.2rem;
}

.preview-panel {
    min-height: 8rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
    color: rgba(255, 255, 255, 0.78);
}

.preview-panel-wide {
    grid-column: 1 / -1;
}

.preview-panel p {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
    margin: 0.45rem 0 0;
}

.preview-panel strong {
    display: block;
    color: #fff;
    font-size: 1.35rem;
    margin-top: 0.45rem;
}

.preview-panel span {
    display: block;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.preview-eyebrow {
    color: #6edbd0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.preview-bars {
    display: grid;
    gap: 0.75rem;
}

.preview-bars i {
    display: block;
    height: 0.72rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f9f8f, #f6b756);
}

.demo-step {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.85rem;
    align-items: start;
}

.demo-step strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: #e7f7f4;
    color: #0b7d70;
    font-size: 0.85rem;
}

.demo-step span {
    color: #4b5563;
    line-height: 1.55;
}

.proof-item {
    min-height: 9rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.35rem;
}

.proof-item strong {
    display: block;
    color: #111827;
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.proof-item span {
    color: #5b6470;
    line-height: 1.55;
}

.check-line {
    position: relative;
    padding-left: 1.8rem;
    line-height: 1.6;
}

.check-line::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    background: #0f9f8f;
    box-shadow: inset 0 0 0 4px #d8f4ef;
}

/* Animate on scroll */
.fade-in-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Pricing card active state */
.pricing-card-active {
    border: 2px solid #0f9f8f;
    box-shadow: 0 0 40px rgba(15, 159, 143, 0.1);
}

/* Step connector line */
.step-connector {
    position: relative;
}
.step-connector::after {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 3.5rem;
    bottom: -1rem;
    width: 2px;
    background: linear-gradient(to bottom, #0f9f8f, transparent);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
