/* ========================================
   Nilo Assistant – Static Site Styles
   Visual design adapted from draft mockup
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #334155;
    background: #fff;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navigation --- */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

#main-nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    transition: color 0.3s;
}

.nav-section-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: center;
}

.nav-section-links a {
    position: relative;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 0.875rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-section-links a:hover {
    color: #fff;
}

.nav-section-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.875rem;
    right: 0.875rem;
    height: 2px;
    background: #a855f7;
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-section-links a:hover::after,
.nav-section-links a.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.btn-nav-outline {
    padding: 0.375rem 1rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.85) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-nav-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff !important;
}

.btn-nav {
    padding: 0.375rem 1rem;
    background: #9333ea;
    color: #fff !important;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-nav:hover {
    background: #7e22ce;
    color: #fff !important;
}

/* Scrolled state */
#main-nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

#main-nav.scrolled .nav-logo {
    color: #0f172a;
}

#main-nav.scrolled .nav-section-links a {
    color: #64748b;
}

#main-nav.scrolled .nav-section-links a:hover,
#main-nav.scrolled .nav-section-links a.active {
    color: #0f172a;
}

#main-nav.scrolled .btn-nav {
    color: #fff !important;
}

#main-nav.scrolled .btn-nav-outline {
    color: #334155 !important;
    border-color: #cbd5e1;
}

#main-nav.scrolled .btn-nav-outline:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a !important;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

#main-nav.scrolled .mobile-menu-btn span {
    background: #0f172a;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite alternate;
}

.blob-1 {
    top: 5rem;
    left: 5rem;
    width: 18rem;
    height: 18rem;
    background: #a855f7;
}

.blob-2 {
    top: 10rem;
    right: 5rem;
    width: 18rem;
    height: 18rem;
    background: #06b6d4;
    animation-delay: 0.7s;
}

.blob-3 {
    bottom: 5rem;
    left: 50%;
    width: 18rem;
    height: 18rem;
    background: #ec4899;
    animation-delay: 1s;
}

.blob-4 {
    top: 5rem;
    left: 5rem;
    width: 24rem;
    height: 24rem;
    background: #a855f7;
}

.blob-5 {
    bottom: 5rem;
    right: 5rem;
    width: 24rem;
    height: 24rem;
    background: #06b6d4;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.15); opacity: 0.35; }
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.5rem 5rem;
    width: 100%;
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.hero-text {
    max-width: 680px;
    color: #fff;
    flex: 1 1 55%;
}

.hero-text-centered {
    max-width: 760px;
    flex: none;
}

.hero-text-centered .hero-subtitle {
    max-width: 100%;
}

.hero-text-centered .hero-buttons {
    justify-content: center;
}

.hero-image {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 540px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-image-large {
    flex: none;
    width: 100%;
    max-width: 960px;
}

.hero-image-large img {
    max-width: 100%;
    border-radius: 1.25rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d8b4fe;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 560px;
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    max-width: 560px;
}

.hero-highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #d1d5db;
    font-size: 1.05rem;
    line-height: 1.6;
}

.hero-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #06b6d4;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #06b6d4;
    color: #fff;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: #0891b2;
    transform: scale(1.03);
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    color: #fff;
    font-weight: 600;
    border: 2px solid #fff;
    border-radius: 0.5rem;
    transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
    background: #fff;
    color: #0f172a;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* Social proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-proof p {
    font-size: 0.875rem;
    color: #d1d5db;
}

.social-proof strong {
    color: #fff;
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-right: -0.5rem;
}

.avatar-purple { background: linear-gradient(135deg, #a855f7, #ec4899); }
.avatar-cyan { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.avatar-orange { background: linear-gradient(135deg, #fb923c, #ef4444); }

/* --- Section Shared --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #f3e8ff;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #9333ea;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 720px;
    margin: 0 auto;
}

/* --- Showcase Sections --- */
.showcase {
    padding: 6rem 0;
    background: #f8fafc;
}

.showcase-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-text {
    flex: 1 1 45%;
}

.showcase-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #0f172a;
}

.showcase-text p {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.showcase-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.showcase-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
}

.showcase-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #06b6d4;
    font-weight: 700;
}

.showcase-image {
    flex: 1 1 55%;
}

.showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.showcase-alt {
    background: #fff;
}

.showcase-row-reverse {
    flex-direction: row-reverse;
}

.showcase-icon-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 320px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.badge-coming-soon {
    font-size: 0.75em;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    padding: 2px 10px;
    border-radius: 20px;
    vertical-align: middle;
    color: #fff;
    margin-left: 0.5rem;
}

/* Scroll-reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(3rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Features --- */
.features {
    padding: 6rem 0;
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 2.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card-link {
    display: block;
    cursor: pointer;
}

.feature-card-link:focus-visible {
    outline: 3px solid #9333ea;
    outline-offset: 3px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
}

.icon-cyan-purple { background: linear-gradient(135deg, #06b6d4, #a855f7); }
.icon-purple-pink { background: linear-gradient(135deg, #a855f7, #ec4899); }
.icon-pink-orange { background: linear-gradient(135deg, #ec4899, #f97316); }

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.feature-card > p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-card > p a {
    color: #9333ea;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.feature-card > p a:hover {
    color: #7e22ce;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #334155;
}

.benefit-list li::before {
    content: "";
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    min-width: 1.1rem;
    border-radius: 50%;
    background: #a855f7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
}

/* --- Pricing --- */
.pricing {
    padding: 6rem 0;
    background: linear-gradient(135deg, #faf5ff 0%, #fff 50%, #ecfeff 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: box-shadow 0.3s;
    position: relative;
}

.pricing-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.pricing-card.popular {
    border: 2px solid #9333ea;
    box-shadow: 0 12px 48px rgba(147,51,234,0.15);
    transform: scale(1.05);
    z-index: 1;
}

.popular-badge {
    position: absolute;
    top: -0.9rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1.2rem;
    background: linear-gradient(135deg, #9333ea, #db2777);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(147,51,234,0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
}

.price .period {
    font-size: 1rem;
    color: #64748b;
}

.price-note {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #334155;
}

.pricing-features li::before {
    content: "";
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    min-width: 1.1rem;
    margin-top: 0.15rem;
    border-radius: 50%;
    background: #a855f7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
}

.btn-pricing {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #9333ea;
    color: #9333ea;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}

.btn-pricing:hover {
    background: #faf5ff;
}

.btn-pricing-primary {
    background: #9333ea;
    color: #fff;
    border-color: #9333ea;
}

.btn-pricing-primary:hover {
    background: #7e22ce;
    border-color: #7e22ce;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: #64748b;
}

.pricing-note strong {
    color: #0f172a;
}

/* --- How It Works --- */
.how-it-works {
    padding: 6rem 0;
    background: #fff;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step-content {
    position: relative;
    padding: 2rem 2.5rem;
}

.step-number-bg {
    position: absolute;
    top: 0;
    left: 1rem;
    font-size: 6rem;
    font-weight: 800;
    color: #f3e8ff;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.step-content h3 {
    position: relative;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.step-content > p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 640px;
}

.integrations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.integration-tag {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    transition: background 0.2s, color 0.2s;
}

.integration-tag:hover {
    background: #f3e8ff;
    color: #7e22ce;
}

/* --- FAQ --- */
.faq {
    padding: 6rem 0;
    background: #fff;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: #c084fc;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    transition: background 0.2s;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    color: #9333ea;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item summary:hover {
    background: #f8fafc;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: #64748b;
    line-height: 1.7;
}

.faq-contact {
    text-align: center;
    margin-top: 3rem;
}

.faq-contact p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.faq-contact a {
    color: #9333ea;
    font-weight: 600;
    transition: color 0.2s;
}

.faq-contact a:hover {
    color: #7e22ce;
}

/* --- Contact --- */
.contact {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
    overflow: hidden;
}

.contact-bg-effects {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.contact-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-dark {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #d8b4fe;
    backdrop-filter: blur(8px);
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-info > p {
    font-size: 1.2rem;
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-purple-bg { background: rgba(168,85,247,0.2); color: #c084fc; }
.icon-cyan-bg { background: rgba(6,182,212,0.2); color: #67e8f9; }
.icon-pink-bg { background: rgba(236,72,153,0.2); color: #f9a8d4; }

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
}

.contact-value {
    display: block;
    font-weight: 600;
    color: #fff;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168,85,247,0.15);
}

.form-group textarea {
    resize: none;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #9333ea, #db2777);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
}

.btn-submit:hover {
    opacity: 0.9;
}

/* --- Footer --- */
.site-footer {
    background: linear-gradient(135deg, #14b8a6 0%, #34d399 50%, #22d3ee 100%);
    color: #fff;
    padding: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.8);
    max-width: 400px;
    line-height: 1.7;
}

.footer-newsletter h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-newsletter > p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.875rem;
    outline: none;
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #0d9488;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0;
}

.footer-col h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    color: #fff;
    transition: background 0.2s;
}

.social-links a:hover {
    background: rgba(255,255,255,0.25);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-split {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

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

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 420px;
    }

    .hero-image-large img {
        max-width: 100%;
    }

    .showcase-row {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .showcase-row-reverse {
        flex-direction: column;
    }

    .showcase-list {
        display: inline-block;
        text-align: left;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile nav */
    .nav-section-links,
    .nav-actions {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 0.75rem 1.5rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        gap: 0;
    }

    .nav-section-links.open,
    .nav-actions.open {
        display: flex;
    }

    .nav-section-links a {
        color: #334155 !important;
        font-size: 0.9375rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-section-links a::after {
        display: none;
    }

    .nav-actions {
        padding-top: 0;
        padding-bottom: 1rem;
        gap: 0.5rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .nav-actions a {
        text-align: center;
        width: 100%;
    }

    .nav-actions .btn-nav-outline {
        color: #334155 !important;
        border-color: #cbd5e1;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .showcase-text h2 {
        font-size: 2rem;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        text-align: center;
    }

    .hero-image img {
        max-width: 100%;
    }

    /* Features */
    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: none;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
