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

:root {
    --primary: #0F172A;
    --primary-hover: #1E293B;
    --accent: #B48A3D; /* Gold/Bronze accent */
    --accent-hover: #9D742E;
    --accent-soft: rgba(180, 138, 61, 0.08);
    --text: #475569;
    --text-dark: #0F172A;
    --bg: #FAFAFA;
    --bg-alt: #FFFFFF;
    --border: #E2E8F0;
    --success: #10B981;
    --warning: #F59E0B;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.08);
}

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

body {
    color: var(--text-dark);
    background-color: #FAFBFD;
    background-image: 
        linear-gradient(to right, rgba(15, 23, 42, 0.012) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.012) 1px, transparent 1px);
    background-size: 60px 60px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography with serif italics like the mockup */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--primary);
}

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 styled beautifully */
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.6rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
}

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

.logo img {
    height: 35px;
}

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

.nav-links a {
    color: #475569;
    font-weight: 550;
    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: var(--accent);
    color: #FFFFFF !important;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    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(180, 138, 61, 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: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180, 138, 61, 0.35);
}

.btn-ghost, .nav-btn-outline, .btn-full.outline {
    background: #FFFFFF;
    color: var(--primary) !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;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    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(--primary);
    background: #FAFAFA;
    transform: translateY(-2px);
}

/* Hero Centrado (Mockup style) */
.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: #FFFFFF;
    border: 1px solid var(--border);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.badge-pill-tag {
    background: rgba(180, 138, 61, 0.1);
    color: var(--accent);
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.hero-centered h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    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: 650px;
}

.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(180, 138, 61, 0.08) 0%, transparent 60%);
    z-index: -1;
}

/* Browser Mockup */
.browser-mockup {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.browser-header {
    height: 40px;
    background: #F8FAFC;
    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: #FFFFFF;
    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(-12px); }
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(180, 138, 61, 0.08);
    color: var(--accent);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(180, 138, 61, 0.15);
}

/* Stats Section */
.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2.5rem 5%;
    background: #FFFFFF;
    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.5rem;
    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;
}

/* Feature Grid Section (Mockup style) */
.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;
}

.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: #FFFFFF;
    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(180, 138, 61, 0.3);
}

.feature-card-image {
    background: #FAFBFD;
    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;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.02);
}

.feature-card-image .browser-mockup {
    width: 100%;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    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.6rem;
}

.feature-card-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-card-image img {
    transform: scale(1.03);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

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

/* Integrations Logos */
.integrations-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 3rem 5%;
    margin: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    width: 100%;
}

.integration-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.integration-logo:hover {
    opacity: 1;
}

.integration-logo i {
    font-size: 1.5rem;
}

/* Interactive Showcase Section (Styled Dark) */
.showcase-section {
    background: #090D1A;
    color: #FFFFFF;
    padding: 6rem 5%;
    margin: 4rem 0;
    width: 100%;
}

.showcase-inner {
    text-align: center;
}

.showcase-section h2 {
    color: #FFFFFF;
    font-size: 2.75rem;
}

.showcase-section p {
    color: #94A3B8;
}

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

.showcase-tab {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #1E293B;
    background: transparent;
    color: #94A3B8;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.showcase-tab:hover, .showcase-tab.active {
    border-color: var(--accent);
    background: #1E293B;
    color: #FFFFFF;
}

.showcase-display {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 6px solid #1E293B;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    max-width: 1000px;
    margin: 0 auto;
}

.showcase-display img {
    width: 100%;
    display: block;
    transition: opacity 0.3s ease;
}

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

.testimonials-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.testimonial-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(180, 138, 61, 0.2);
}

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

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: var(--primary);
}

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

.testimonial-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.65;
    font-style: italic;
}

/* Footer Section */
footer {
    background: #FFFFFF;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
    margin-top: 6rem;
}

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

.footer-about p {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

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

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

.footer-col ul a {
    color: var(--text);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

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

/* AI Assistant Widget styling */
.ai-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.ai-button {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-button:hover {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent);
}

.ai-chat {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transition: all 0.3s ease;
}

.ai-chat.active {
    display: flex;
    animation: slideUp 0.3s ease forwards;
}

.ai-chat-header {
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.ai-chat-body {
    padding: 1.2rem;
    height: 300px;
    overflow-y: auto;
    background: #F8FAFC;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-msg {
    padding: 0.8rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.4;
}

.ai-msg.bot {
    background: white;
    border: 1px solid var(--border);
    align-self: flex-start;
    color: var(--primary);
    border-bottom-left-radius: 2px;
}

.ai-msg.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

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

.ai-input {
    flex: 1;
    border: 1px solid var(--border);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    outline: none;
    font-size: 0.9rem;
    transition: border 0.2s;
}

.ai-input:focus {
    border-color: var(--accent);
}

.ai-send {
    background: var(--primary);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slideUp { 
    from { opacity: 0; transform: scale(0.9) translateY(20px); } 
    to { opacity: 1; transform: scale(1) translateY(0); } 
}

/* Common form styles for login/register/contact */
.form-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    max-width: 500px;
    margin: 4rem auto;
}

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

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(180, 138, 61, 0.1);
}

/* Info Cards for lists */
.info-card {
    border: 1px solid var(--border);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    background: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.info-card i {
    color: var(--accent);
    font-size: 1.25rem;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    nav { padding: 1rem 0; flex-direction: column; gap: 1.5rem; text-align: center; }
    .nav-links { display: none !important; }
    .hero-centered h1 { font-size: 3rem; }
    .stats-bar { flex-direction: column; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
}

@media (max-width: 768px) {
    .hero-centered h1 { font-size: 2.4rem; }
    .hero-btns-centered { flex-direction: column; width: 100%; }
    .hero-btns-centered a { width: 100%; }
    .testimonials-grid, .features-grid { grid-template-columns: 1fr; }
}
