:root {
    /* Colors */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #0f172a;
    --accent-color: #3b82f6;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 90px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: white;
    color: var(--secondary-color);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-full {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: #dbeafe;
    color: var(--primary-color);
}

/* Header */
.header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary-color);
}

.logo img {
    height: 70px;
    width: auto;
    filter: brightness(1.05) contrast(1.02);
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    background: linear-gradient(to bottom, #f0f9ff, #ffffff);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-metrics {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.metric strong {
    display: block;
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.metric span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.hero-visual {
    position: relative;
}

.hero-card {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 24px;
    border: 1px solid #e2e8f0;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* Features Section */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
    font-weight: 700;
}

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

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    flex: 1 1 300px;
    max-width: 400px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
}

/* Pricing Section */
.pricing {
    background-color: var(--secondary-color);
    color: white;
}

.pricing .section-header h2,
.pricing .section-header p {
    color: white;
}

.pricing .section-header p {
    opacity: 0.8;
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    color: var(--text-main);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 300px;
    max-width: 380px;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    z-index: 10;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 4px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 24px 0;
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    margin-left: 4px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.check-icon {
    color: var(--success);
    flex-shrink: 0;
}

/* Contact/Trial Section */
.trial-section {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.trial-card {
    background: white;
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
}

/* Footer */
.footer {
    background-color: white;
    padding: 60px 0 30px;
    border-top: 1px solid #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-tagline {
    margin-top: 8px;
    font-size: 0.8125rem;
    color: #94a3b8;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Tablet Responsive (Landscape/Large) */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .trial-card-grid {
        gap: 40px;
        padding: 40px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

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

    .nav-menu {
        display: none;
        /* Mobile menu to be implemented */
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Trial Form Section */
.trial-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
    align-items: center;
}

.trial-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 16px 0;
    font-weight: 700;
}

.trial-content p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.trial-form-wrapper {
    background: #f8fafc;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.trial-form-wrapper h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.875rem;
}

.alert-error {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

@media (max-width: 768px) {
    .trial-card-grid {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 40px;
    }
    
    .trial-content {
        text-align: center;
    }
    
    .benefits-list {
        text-align: left;
        display: inline-block;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* =============================================
   DASHBOARD MOCKUP - Hero Visual
   ============================================= */
.dashboard-mockup {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.mockup-header {
    background: #0f172a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dots .dot.red { background: #ef4444; }
.mockup-dots .dot.yellow { background: #eab308; }
.mockup-dots .dot.green { background: #22c55e; }

.mockup-title {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 500;
}

.mockup-content {
    display: flex;
    min-height: 280px;
}

.mockup-sidebar {
    width: 140px;
    background: #1e293b;
    padding: 16px 0;
    border-right: 1px solid #334155;
}

.sidebar-item {
    padding: 10px 16px;
    color: #94a3b8;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.sidebar-item.active {
    background: #2563eb;
    color: white;
}

.sidebar-item i {
    font-style: normal;
}

.mockup-main {
    flex: 1;
    padding: 20px;
    background: #0f172a;
}

.mockup-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.stat-card.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.stat-card.green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.stat-card.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.stat-value {
    display: block;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mockup-chart {
    background: #1e293b;
    border-radius: 8px;
    padding: 20px;
    height: 120px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    gap: 8px;
}

.chart-bars .bar {
    flex: 1;
    background: linear-gradient(to top, #3b82f6, #60a5fa);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}

.chart-bars .bar.highlight {
    background: linear-gradient(to top, #22c55e, #4ade80);
}

.chart-bars .bar:hover {
    opacity: 0.8;
    transform: scaleY(1.05);
}

/* Floating Cards */
.hero-visual {
    position: relative;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.floating-card.card-1 {
    top: 20px;
    right: -20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 40px;
    left: -30px;
    animation-delay: 1.5s;
}

.floating-icon {
    font-size: 1.25rem;
}

.floating-text {
    color: var(--text-main);
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.testimonials-section .section-header .badge {
    margin-bottom: 16px;
    display: inline-block;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 4rem;
    color: #e2e8f0;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.testimonial-rating {
    margin-bottom: 16px;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.author-info strong {
    display: block;
    color: var(--secondary-color);
    font-size: 0.9375rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.8125rem;
}

/* =============================================
   TRUST LOGOS SECTION
   ============================================= */
.trust-section {
    padding: 60px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.trust-text {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-logo {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

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

.logo-placeholder {
    display: inline-block;
    padding: 12px 24px;
    background: #e2e8f0;
    border-radius: 8px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.875rem;
}

/* =============================================
   IMPROVED ANIMATIONS
   ============================================= */
.hero-content {
    animation: fadeIn 0.8s ease forwards;
}

.hero-visual {
    animation: slideInRight 0.8s ease 0.2s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.metric {
    opacity: 0;
    animation: countUp 0.6s ease forwards;
}

.metric:nth-child(1) { animation-delay: 0.4s; }
.metric:nth-child(2) { animation-delay: 0.6s; }
.metric:nth-child(3) { animation-delay: 0.8s; }

/* Scroll reveal animation helper */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Button hover improvements */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* Feature card improvements */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

/* =============================================
   RESPONSIVE - New Elements
   ============================================= */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card.featured {
        transform: none;
    }
    
    .floating-card.card-1 {
        right: 0;
    }
    
    .floating-card.card-2 {
        left: 0;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .trust-logos {
        gap: 24px;
    }
    
    .mockup-sidebar {
        display: none;
    }
    
    .mockup-stats {
        flex-direction: column;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-visual {
        animation: fadeIn 0.8s ease 0.2s forwards;
    }
}