/* Bigcapital-inspired Design for Matrix360 - QuickBooks Alternative Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #0052FF; /* A professional, trustworthy blue */
    --primary-dark: #003DAA;
    --secondary-color: #00C853; /* A clear, positive green for accents */
    --accent-color: #FFAB00; /* A warm accent for highlights */
    --text-dark: #171A1F; /* A strong, readable dark gray */
    --text-medium: #5A6472;
    --text-light: #909DAA;
    --bg-white: #FFFFFF;
    --bg-light-gray: #F8F9FA; /* A very subtle gray for section backgrounds */
    --border-color: #E5E8EB;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 30px rgba(0,0,0,0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    color: var(--text-medium);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Top Banner */
.top-banner {
    background: var(--primary-color);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--primary-dark);
}

.top-banner .btn-small {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 5px 15px;
    border-radius: 6px;
    text-decoration: none;
    margin-left: 15px;
    font-weight: 600;
    transition: background 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.top-banner .btn-small:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Header Navigation */
.hero-header {
    position: relative;
    z-index: 10;
    padding: 20px 0;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-actions .btn {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
}

.btn-text {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
}

.btn-text:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: #F8F9FA;
    background-image: radial-gradient(circle at 100% 0%, #EFF4FF 0%, #F8F9FA 40%);
    padding: 0 0 100px;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 0;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 32px;
    color: var(--text-medium);
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* Dashboard Mockup */
.hero-visual {
    position: relative;
    z-index: 2;
}

.dashboard-preview {
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow-lg);
    transform: perspective(1500px) rotateY(-10deg) rotateX(2deg) scale(1.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.dashboard-preview:hover {
    transform: perspective(1500px) rotateY(-8deg) rotateX(1deg) scale(1.18);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.dashboard-preview img {
    width: 100%;
    border-radius: 12px;
}

/* Floating Color Background Elements */
.geometric-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle-system {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: linear-gradient(45deg, rgba(0, 82, 255, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(0, 82, 255, 0.2);
    animation: particleFloat 8s ease-in-out infinite;
}

.particle.triangle {
    width: 0;
    height: 0;
    background: none;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid rgba(0, 82, 255, 0.15);
    animation: triangleFloat 10s ease-in-out infinite;
}

.particle.circle {
    border-radius: 50%;
    width: 28px;
    height: 28px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25), rgba(0, 82, 255, 0.15));
}

.particle.diamond {
    width: 28px;
    height: 28px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.2), rgba(139, 92, 246, 0.2));
}

.particle.hexagon {
    width: 32px;
    height: 18px;
    background: rgba(0, 82, 255, 0.15);
    position: relative;
}

.particle.hexagon:before,
.particle.hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
}

.particle.hexagon:before {
    bottom: 100%;
    border-bottom: 9px solid rgba(0, 82, 255, 0.15);
}

.particle.hexagon:after {
    top: 100%;
    border-top: 9px solid rgba(0, 82, 255, 0.15);
}

/* Particle positions */
.particle:nth-child(1) { top: -25%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: -17%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: -5%; left: 15%; animation-delay: 2s; }
.particle:nth-child(4) { top: 10%; left: 85%; animation-delay: 3s; }
.particle:nth-child(5) { top: 25%; left: 20%; animation-delay: 4s; }
.particle:nth-child(6) { top: 45%; left: 75%; animation-delay: 5s; }
.particle:nth-child(7) { top: -10%; left: 5%; animation-delay: 6s; }
.particle:nth-child(8) { top: 20%; left: 90%; animation-delay: 7s; }

/* Morphing Blob Background */
.morphing-blob {
    position: absolute;
    top: -25%;
    right: 10%;
    width: 600px;
    height: 600px;
    opacity: 0.15;
    z-index: 0;
}

.blob {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0052FF, #8b5cf6, #f59e0b);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blobMorph 20s ease-in-out infinite;
    filter: blur(2px);
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.2), rgba(0, 82, 255, 0.05));
    filter: blur(20px);
    animation: orbFloat 15s ease-in-out infinite;
}

.gradient-orb:nth-child(1) {
    width: 250px;
    height: 250px;
    top: -20%;
    right: 25%;
    animation-delay: 0s;
}

.gradient-orb:nth-child(2) {
    width: 180px;
    height: 180px;
    top: 5%;
    right: 45%;
    animation-delay: 5s;
    background: radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.25), rgba(0, 82, 255, 0.12));
}

.gradient-orb:nth-child(3) {
    width: 140px;
    height: 140px;
    top: -15%;
    right: 5%;
    animation-delay: 10s;
    background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.25), rgba(0, 82, 255, 0.12));
}

/* Connecting Lines */
.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 82, 255, 0.3), transparent);
    animation: lineGlow 4s ease-in-out infinite;
}

.line:nth-child(1) {
    width: 250px;
    top: -17%;
    right: 35%;
    transform: rotate(25deg);
    animation-delay: 0s;
}

.line:nth-child(2) {
    width: 200px;
    top: 0%;
    right: 15%;
    transform: rotate(-15deg);
    animation-delay: 2s;
}

.line:nth-child(3) {
    width: 160px;
    top: 20%;
    right: 40%;
    transform: rotate(45deg);
    animation-delay: 4s;
}

/* Floating Geometric Grid */
.geometric-grid {
    position: absolute;
    top: -25%;
    right: 20%;
    width: 350px;
    height: 350px;
    opacity: 0.18;
    transform: perspective(1000px) rotateX(20deg) rotateY(-10deg);
    animation: gridRotate 25s linear infinite;
}

.grid-line {
    position: absolute;
    background: rgba(0, 82, 255, 0.3);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
}

.grid-line:nth-child(1) { top: 0; }
.grid-line:nth-child(2) { top: 25%; }
.grid-line:nth-child(3) { top: 50%; }
.grid-line:nth-child(4) { top: 75%; }
.grid-line:nth-child(5) { top: 100%; }

.grid-line:nth-child(6) { left: 0; }
.grid-line:nth-child(7) { left: 25%; }
.grid-line:nth-child(8) { left: 50%; }
.grid-line:nth-child(9) { left: 75%; }
.grid-line:nth-child(10) { left: 100%; }

/* Wave Background */
.wave-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(45deg, rgba(0, 82, 255, 0.08), rgba(139, 92, 246, 0.08));
    clip-path: polygon(0 50%, 100% 80%, 100% 100%, 0% 100%);
    animation: waveMove 8s ease-in-out infinite;
}

/* Background Animation Keyframes */
@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-10px) translateX(-5px) rotate(180deg);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-30px) translateX(15px) rotate(270deg);
        opacity: 0.4;
    }
}

@keyframes triangleFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.2;
    }
    33% { 
        transform: translateY(-25px) translateX(20px) rotate(120deg);
        opacity: 0.5;
    }
    66% { 
        transform: translateY(-15px) translateX(-10px) rotate(240deg);
        opacity: 0.7;
    }
}

@keyframes blobMorph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 50% 50% 80% 20% / 25% 75% 25% 75%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 80% 20% 50% 50% / 75% 25% 75% 25%;
        transform: rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 20% 80% 30% 70% / 50% 50% 50% 50%;
        transform: rotate(270deg) scale(1.05);
    }
}

@keyframes orbFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.2;
    }
    33% { 
        transform: translateY(-30px) translateX(20px) scale(1.2);
        opacity: 0.3;
    }
    66% { 
        transform: translateY(-10px) translateX(-15px) scale(0.8);
        opacity: 0.25;
    }
}

@keyframes lineGlow {
    0%, 100% { 
        opacity: 0.2;
        transform: scaleX(0.5);
    }
    50% { 
        opacity: 0.6;
        transform: scaleX(1.2);
    }
}

@keyframes gridRotate {
    0% { 
        transform: perspective(1000px) rotateX(20deg) rotateY(-10deg) rotateZ(0deg);
    }
    100% { 
        transform: perspective(1000px) rotateX(20deg) rotateY(-10deg) rotateZ(360deg);
    }
}

@keyframes waveMove {
    0%, 100% { 
        clip-path: polygon(0 50%, 100% 80%, 100% 100%, 0% 100%);
    }
    50% { 
        clip-path: polygon(0 80%, 100% 50%, 100% 100%, 0% 100%);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-light-gray);
}

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: left;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
    color: white;
    box-shadow: 0 6px 12px rgba(0, 82, 255, 0.2);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-medium);
    font-size: 16px;
}

/* Stats Section */
.stats {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.stats .section-title {
    color: white;
}

.stats.compact {
    padding: 40px 0;
}

.stats-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.stats.compact .stat-number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stats.compact .stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.stat-number {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stats.compact .stat-number {
        font-size: 20px;
    }
    
    .stats.compact .stat-label {
        font-size: 12px;
    }
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-white);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    color: var(--text-medium);
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 28px;
    background: var(--border-color);
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    z-index: 2;
}

.toggle-switch input:checked + .toggle-slider {
    transform: translateX(22px);
}

.toggle-switch input:checked ~ .toggle-bg {
    background: var(--primary-color);
}

.toggle-switch input:checked {
    background: var(--primary-color);
}

.toggle-switch:has(input:checked) {
    background: var(--primary-color);
}

.toggle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 14px;
    transition: background 0.3s ease;
    z-index: 1;
}

.save-badge {
    background: var(--secondary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    position: relative;
    min-height: 450px;
    animation: cardFloat 6s ease-in-out infinite;
}

.pricing-card:nth-child(1) { animation-delay: 0s; }
.pricing-card:nth-child(2) { animation-delay: 1s; }
.pricing-card:nth-child(3) { animation-delay: 2s; }
.pricing-card:nth-child(4) { animation-delay: 3s; }

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

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    animation: featuredCardFloat 6s ease-in-out infinite;
}

@keyframes featuredCardFloat {
    0%, 100% { transform: scale(1.05) translateY(0px); }
    50% { transform: scale(1.05) translateY(-8px); }
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

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

.plan-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.plan-description {
    color: var(--text-medium);
    margin-bottom: 18px;
    min-height: 36px;
    font-size: 14px;
    line-height: 1.4;
}

.plan-price {
    margin-bottom: 24px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
}

.price-period {
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.plan-features li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.3;
}

.plan-features i {
    color: var(--secondary-color);
    font-size: 14px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

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

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

.hidden {
    display: none;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-medium);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 5px;
    width: 24px;
    text-align: center;
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-medium);
    margin-bottom: 0;
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.contact-form textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 120px;
    margin-bottom: 10px;
}

.contact-form .btn {
    width: 100%;
}

/* Footer */
.footer {
    background: #0E1116; /* A very dark, near-black for a premium feel */
    color: var(--text-light);
    padding: 80px 0 30px;
}

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

.footer-about p {
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo::before {
    content: "M";
    color: white;
    background: var(--primary-color);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 20px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
    .pricing-card.featured {
        transform: scale(1.02);
    }
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .header-actions .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-text {
        display: none; /* Hide Login on mobile to save space */
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta {
        justify-content: center;
    }
    .dashboard-preview {
        transform: perspective(1500px) rotateY(0deg) rotateX(0deg) scale(1);
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .form-group {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    body {
        line-height: 1.6;
    }
    .section {
        padding: 60px 0;
    }
    .hero {
        padding: 60px 0;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .section-title {
        font-size: 32px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}
