/* ===== Fonts ===== */
@font-face {
    font-family: 'Bagnard';
    src: url('bagnard.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ===== Variables & Base ===== */
:root {
    --bg-dark: #0a0a10;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent-1: #6366f1; /* Indigo */
    --accent-2: #a855f7; /* Purple */
    --accent-3: #ec4899; /* Pink */
    
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography Utilities */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Buttons ===== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-large {
    padding: 0.8rem 1.8rem;
    font-size: 1.05rem;
    border-radius: 10px;
}

/* ===== Glass Panels ===== */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 16, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.css-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.css-logo:hover {
    transform: scale(1.05);
}

.css-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.82;
}

.liora-text {
    font-family: 'Bagnard', serif;
    font-size: 2.8rem;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.media-text {
    font-family: 'Bagnard', serif;
    font-size: 1.25rem;
    color: #d1d5db;
    letter-spacing: 9px;
    text-transform: uppercase;
    margin-left: 8px; /* widespread characters */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
}

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

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 12rem 2rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: 100vh;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Hero Visuals */
.hero-visual {
    flex: 1;
    position: relative;
    z-index: 10;
    height: 500px;
}

.main-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 300px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.panel-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.dots {
    display: flex;
    gap: 6px;
    margin-right: 1rem;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #374151;
}

.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #f59e0b; }
.dots span:nth-child(3) { background: #10b981; }

.panel-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.panel-body {
    flex: 1;
    display: flex;
    gap: 1.5rem;
}

.chart-mockup {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100%;
}

.chart-mockup .bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent-1), var(--accent-2));
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}

.post-preview {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 1rem;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--text-secondary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.post-lines .line {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 8px;
}
.post-lines .line.short { width: 60%; }

.floating-panel {
    position: absolute;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.floating-panel.right {
    top: 20%;
    right: -10%;
    z-index: 3;
    animation-delay: 1s;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.floating-panel.left {
    bottom: 20%;
    left: -10%;
    z-index: 3;
    animation-delay: 2s;
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.bg-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, rgba(10,10,16,0) 70%);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 50%;
    filter: blur(60px);
}

/* ===== Features Section ===== */
.features {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Integrations Section ===== */
.integrations {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.integration-card {
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.integration-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.int-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.integration-card h3 {
    font-size: 1.1rem;
    margin: 0;
}

.integration-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    flex: 1;
}

.int-status {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    width: fit-content;
    letter-spacing: 0.3px;
}

.int-status.connected {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.int-status.coming-soon {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    margin-top: 2rem;
}
.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}
.step-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.3);
}
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: -4.5rem auto 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    color: white;
}
.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}
.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 8rem 2rem;
    background: rgba(0, 0, 0, 0.2);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.testimonial-card {
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
}
.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.review {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    color: rgba(255,255,255,0.9);
}
.client {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.client-info h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
}
.client-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== FAQ ===== */
.faq {
    padding: 8rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}
.faq-question:hover {
    background: rgba(255, 255, 255, 0.04);
}
.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}
.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 2rem 1.5rem;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-1);
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.pricing-card {
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: left;
    position: relative;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.pricing-card.popular {
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.05), rgba(168, 85, 247, 0.05));
    border-color: rgba(168, 85, 247, 0.3);
}
.badge-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}
.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}
.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    font-family: 'Bagnard', serif;
    text-align: center;
}
.price span {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-weight: normal;
}
.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
}
.pricing-features li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
}
.w-full {
    width: 100%;
}
.text-accent {
    color: var(--accent-2);
}
.text-accent:hover {
    color: var(--accent-3);
}

/* ===== Contact & CTA Section ===== */
.contact-cta {
    padding: 4rem 2rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.cta-box, .contact-box {
    padding: 4.5rem 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(236,72,153,0.08));
    z-index: -1;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168,85,247,0.08), rgba(0,242,254,0.08));
    z-index: -1;
}

.cta-box h2, .contact-box h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    font-family: 'Bagnard', serif;
    letter-spacing: 1px;
}

.cta-box p, .contact-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-2), #00f2fe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtext {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.contact-form {
    width: 100%;
    margin-top: 1rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input, .form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.form-textarea {
    resize: vertical;
}

.email-wrapper {
    margin-top: 0.5rem;
}

.email-link {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.email-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(168,85,247,0.5);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(168,85,247,0.2);
    color: #fff;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 2rem 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 1.5rem 0;
    max-width: 300px;
    font-size: 0.95rem;
}

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

.social-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links a:hover {
    color: var(--accent-2);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.amnext-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.amnext-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.amnext-badge .badge-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.amnext-badge .badge-logo {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #00f2fe, #4facfe); /* distinct cyan blue gradient for amnextech */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .nav-links, .nav-actions .btn-secondary {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .main-panel {
        width: 100%;
    }
}
