@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #FFFFFF;
    --primary-hover: #E2E8F0;
    --accent: #D4AF37;          /* Gold Real */
    --accent-hover: #E5C058;    /* Gold Radiant */
    --accent-soft: rgba(212, 175, 55, 0.12);
    --text: #94A3B8;
    --text-dark: #F8FAFC;
    --bg: #0A0A0D;             /* Pure Obsidian Black */
    --bg-alt: #121217;         /* Charcoal Surface */
    --border: #23232C;          /* Subtle Dark Border */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.8);
    --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    color: var(--text-dark);
    background-color: #0A0A0D;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 60px 60px, 60px 60px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography with serif italics */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #FFFFFF;
}

h1 em, h2 em, h3 em, h1 i, h2 i, h3 i {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
    text-transform: none;
}

p {
    color: var(--text);
    line-height: 1.7;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: transparent;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFFFFF;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
}

.logo img {
    height: 38px;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

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

.nav-links a {
    color: #94A3B8;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

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

/* Buttons */
.btn-primary, .nav-btn, .btn-submit, .btn-full {
    background: linear-gradient(135deg, #D4AF37 0%, #B89028 100%);
    color: #0A0A0D !important;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover, .nav-btn:hover, .btn-submit:hover, .btn-full:hover {
    background: linear-gradient(135deg, #E5C058 0%, #C49A2A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.btn-ghost, .nav-btn-outline, .btn-full.outline {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF !important;
    border: 1px solid var(--border);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-ghost:hover, .nav-btn-outline:hover, .btn-full.outline:hover {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent) !important;
    transform: translateY(-2px);
}

/* Hero Centrado */
.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6rem 5% 4rem;
    width: 100%;
}

.badge-pill-container {
    margin-bottom: 2rem;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #121217;
    border: 1px solid var(--border);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

.badge-pill-tag {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent);
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.hero-centered h1 {
    font-size: 4.2rem;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-centered h1 em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 680px;
}

.hero-btns-centered {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-mockup-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

.hero-image-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
    z-index: -1;
}

/* Browser Mockup */
.browser-mockup {
    background: #121217;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.browser-header {
    height: 40px;
    background: #0E0E13;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
    position: relative;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.browser-dot.red { background: #EF4444; }
.browser-dot.yellow { background: #F59E0B; }
.browser-dot.green { background: #10B981; }

.browser-address-bar {
    flex: 1;
    max-width: 400px;
    background: #0A0A0D;
    border: 1px solid var(--border);
    border-radius: 6px;
    height: 24px;
    margin: 0 auto;
    font-size: 0.75rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
}

.browser-mockup img {
    width: 100%;
    display: block;
    height: auto;
}

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

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

/* Stats Section */
.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2.5rem 5%;
    background: #121217;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin: 4rem 0 6rem;
    width: 100%;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features-section {
    padding: 0 5%;
    width: 100%;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.features-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.features-header p {
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 6rem;
}

.feature-card {
    background: #121217;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.4);
}

.feature-card-image {
    background: #0E0E13;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    overflow: hidden;
    height: 180px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.feature-card-image .browser-mockup {
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.feature-card-image .browser-header {
    height: 24px;
    padding: 0 0.5rem;
}

.feature-card-image .browser-dot {
    width: 6px;
    height: 6px;
}

.feature-card-image .browser-address-bar {
    max-width: 180px;
    height: 16px;
    font-size: 0.65rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Integrations bar */
.integrations-bar {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    align-items: center;
    padding: 3rem 5%;
    filter: grayscale(80%) opacity(0.7);
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.integrations-bar:hover {
    filter: grayscale(0%) opacity(1);
}

.integration-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #CBD5E1;
}

/* Interactive Showcase Section */
.showcase-section {
    padding: 6rem 5%;
    background: #0E0E13;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.showcase-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.showcase-tab {
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    background: #141419;
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-tab.active, .showcase-tab:hover {
    background: var(--accent);
    color: #0A0A0D !important;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.showcase-display {
    background: #141419;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.showcase-display img {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
    transition: opacity 0.3s ease;
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 5%;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.testimonial-card {
    background: #121217;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #E2E8F0;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.author-info h4 {
    font-size: 1rem;
    color: #FFFFFF;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text);
}

/* CTA Section */
.cta-section {
    padding: 6rem 5%;
    text-align: center;
}

.cta-box {
    background: radial-gradient(circle at center, #181820 0%, #0E0E13 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-gold);
}

.cta-box h2 {
    font-size: 3rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.cta-box p {
    max-width: 550px;
    margin: 0 auto 2.5rem;
}

/* Footer */
footer {
    background: #08080A;
    border-top: 1px solid var(--border);
    padding: 5rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about p {
    font-size: 0.95rem;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--text);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text);
}

/* Forms & Authentication Cards */
.auth-card, .login-box, .pricing-card, .service-card, .contact-form {
    background: #121217 !important;
    border: 1px solid var(--border) !important;
    color: #FFFFFF !important;
    border-radius: var(--radius-md) !important;
}

.auth-card:hover, .pricing-card:hover, .service-card:hover {
    border-color: rgba(212, 175, 55, 0.4) !important;
}

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

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #CBD5E1;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: #0A0A0D;
    color: #FFFFFF;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Chatbot Floating */
.ai-chat-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37 0%, #B89028 100%);
    color: #0A0A0D;
    border: none;
    box-shadow: 0 4px 25px rgba(212, 175, 55, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
}

.ai-chat-container {
    position: fixed;
    bottom: 6.5rem;
    right: 2rem;
    width: 360px;
    height: 480px;
    background: #121217;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 10000;
}

.ai-chat-container.active {
    display: flex;
}

.ai-chat-header {
    background: #0E0E13;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ai-chat-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #0A0A0D;
}

.ai-chat-msg {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 80%;
}

.ai-chat-msg.bot {
    background: #141419;
    color: #E2E8F0;
    align-self: flex-start;
    border: 1px solid var(--border);
}

.ai-chat-msg.user {
    background: linear-gradient(135deg, #D4AF37 0%, #B89028 100%);
    color: #0A0A0D;
    font-weight: 600;
    align-self: flex-end;
}

.ai-chat-footer {
    padding: 0.75rem;
    background: #0E0E13;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-centered h1 { font-size: 3rem; }
    .features-header h2 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .nav-links { display: none; }
}

@media (max-width: 768px) {
    .hero-centered h1 { font-size: 2.4rem; }
    .hero-btns-centered { flex-direction: column; width: 100%; }
    .stats-bar { flex-direction: column; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
