/* ==========================================================================
   Enostavno Knjigovodstvo - Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   Variables & Base Styles
   -------------------------------------------------------------------------- */
:root {
    --primary-color: #dc3545;
    --primary-dark: #b02a37;
    --secondary-color: #198754;
    --secondary-dark: #146c43;
    --dark-color: #1a1a2e;
    --text-color: #333333;
    --text-muted: #6c757d;
    --light-bg: #fffde7;
    --white: #ffffff;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
   Top Bar
   -------------------------------------------------------------------------- */
.top-bar {
    background-color: var(--dark-color);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .contact-info a {
    color: var(--white);
    margin-right: 20px;
    opacity: 0.9;
}

.top-bar .contact-info a:hover {
    opacity: 1;
}

.top-bar .contact-info i {
    margin-right: 6px;
}

.top-bar .social-links a {
    color: var(--white);
    margin-left: 15px;
    opacity: 0.8;
}

.top-bar .social-links a:hover {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.navbar {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

/* Logo Styling */
.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-brand .logo-img {
    height: 70px;
    margin-bottom: 20px;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 16px;
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.nav-link-login {
    color: var(--secondary-color) !important;
}

.btn-cta {
    margin-left: 10px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.navbar-toggler {
    border: none;
    padding: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, #fffef5 0%, #fff9e6 100%);
    position: relative;
    padding-top: 60px;
    overflow: hidden;
}

.min-vh-80 {
    min-height: 80vh;
}

.hero-content {
    padding-right: 40px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.highlight-green {
    color: var(--secondary-color);
    font-weight: 700;
}

.highlight-red {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-buttons .btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Image / Mockup */
.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    max-width: 600px;
    display: block;
}

.hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.hero-mockup {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.mockup-header {
    background: #e9ecef;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

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

.mockup-header .dot.red { background: #ff5f57; }
.mockup-header .dot.yellow { background: #ffbd2e; }
.mockup-header .dot.green { background: #28ca42; }

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

.mockup-sidebar {
    width: 60px;
    background: var(--dark-color);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-item {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.sidebar-item.active {
    background: var(--primary-color);
}

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

.mockup-chart {
    height: 120px;
    background: linear-gradient(180deg, rgba(25, 135, 84, 0.2) 0%, rgba(25, 135, 84, 0.05) 100%);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    position: relative;
}

.mockup-chart::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.mockup-table .table-row {
    height: 30px;
    background: var(--white);
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

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

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

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

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
   Section Styles
   -------------------------------------------------------------------------- */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Benefits Section
   -------------------------------------------------------------------------- */
.benefits-section {
    background-color: var(--white);
}

.benefit-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(25, 135, 84, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.benefit-icon i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Features Section
   -------------------------------------------------------------------------- */
.features-section {
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

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

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-wrapper i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-content h3 {
    font-size: 1.125rem;
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 20px;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* --------------------------------------------------------------------------
   Accounting Types Section
   -------------------------------------------------------------------------- */
.accounting-types-section {
    background: var(--white);
}

.accounting-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    height: 100%;
    position: relative;
    transition: var(--transition);
}

.accounting-card:hover {
    box-shadow: var(--shadow-lg);
}

.accounting-simple {
    border-color: rgba(25, 135, 84, 0.3);
}

.accounting-simple:hover {
    border-color: var(--secondary-color);
}

.accounting-double {
    border-color: rgba(220, 53, 69, 0.3);
}

.accounting-double:hover {
    border-color: var(--primary-color);
}

.accounting-badge {
    position: absolute;
    top: -12px;
    left: 30px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.accounting-double .accounting-badge {
    background: var(--primary-color);
}

.accounting-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 10px;
}

.accounting-card > p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.accounting-features {
    margin-bottom: 30px;
}

.accounting-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.accounting-feature:last-child {
    border-bottom: none;
}

.accounting-simple .accounting-feature i {
    color: var(--secondary-color);
}

.accounting-double .accounting-feature i {
    color: var(--primary-color);
}

/* --------------------------------------------------------------------------
   Audience Section
   -------------------------------------------------------------------------- */
.audience-section {
    background: linear-gradient(135deg, #fffef5 0%, #fff9e6 100%);
}

.audience-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.audience-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.audience-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.audience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.audience-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.audience-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.audience-benefits li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.audience-benefits li:last-child {
    border-bottom: none;
}

.audience-benefits li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

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

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    height: 100%;
    position: relative;
    transition: var(--transition);
}

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

.pricing-featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-featured:hover {
    transform: scale(1.08);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.pricing-description {
    color: var(--text-muted);
    margin: 0;
}

.pricing-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
}

.price-period {
    color: var(--text-muted);
    font-size: 1rem;
}

.price-small {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.pricing-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

/* Pricing Add-ons */
.pricing-addons {
    padding: 10px 0;
}

.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.addon-item:last-child {
    border-bottom: none;
}

.addon-name {
    color: var(--text-color);
    font-size: 0.95rem;
}

.addon-name small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.addon-price {
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    margin-left: 15px;
}


/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
    background: var(--light-bg);
}

.contact-info .section-title {
    text-align: left;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-text a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
}

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

.contact-text span:last-child {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form .form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-lg {
    padding: 14px 32px;
    border-radius: 50px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h5 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.125rem;
    transition: var(--transition);
}

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

.footer-bottom {
    margin-top: 40px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    margin-left: 20px;
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-featured {
        transform: scale(1);
    }

    .pricing-featured:hover {
        transform: scale(1.03);
    }
}

/* Tablets portrait */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

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

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

    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        margin-top: 15px;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-md);
    }

    .navbar-nav {
        gap: 5px;
    }

    .navbar-nav .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
    }

    .navbar-nav .nav-link:hover {
        background: var(--light-bg);
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .btn-cta {
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
        display: block;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Footer adjustments */
    .footer .row > div {
        margin-bottom: 30px;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 15px;
    }

    .footer-bottom a {
        margin: 0 10px;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }

    .hero-section {
        padding-top: 30px;
    }

    .min-vh-80 {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.875rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn-lg {
        width: 100%;
        padding: 16px 24px;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1;
        min-width: 100px;
        text-align: center;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .floating-card {
        display: none;
    }

    .hero-mockup {
        max-width: 100%;
    }

    .mockup-content {
        min-height: 200px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .contact-form-wrapper {
        padding: 24px;
        margin-top: 30px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info .section-title {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-text {
        align-items: center;
    }

    /* Top bar mobile */
    .top-bar {
        padding: 8px 0;
        font-size: 13px;
    }

    .top-bar .contact-info {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .top-bar .contact-info a:first-child {
        margin-right: 15px;
    }

    .top-bar .contact-info a:last-child {
        display: none;
    }

    /* Pricing cards stack */
    .pricing-card {
        margin-bottom: 20px;
    }

    /* Audience section */
    .audience-icon {
        width: 80px;
        height: 80px;
    }

    .audience-icon i {
        font-size: 2rem;
    }

    /* Benefits grid */
    .benefit-icon {
        width: 70px;
        height: 70px;
    }

    .benefit-icon i {
        font-size: 1.75rem;
    }

    /* Logo scaling */
    .logo-img {
        height: 50px;
    }
}

/* Mobile portrait */
@media (max-width: 576px) {
    body {
        font-size: 15px;
    }

    section {
        padding: 40px 0;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 5px 14px;
    }

    .pricing-card,
    .accounting-card {
        padding: 24px 18px;
    }

    .pricing-badge {
        font-size: 0.75rem;
        padding: 5px 14px;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .benefit-card,
    .audience-card {
        padding: 24px 18px;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-buttons .btn-lg {
        width: 100%;
    }

    /* Footer mobile */
    .footer {
        padding: 40px 0 0;
        text-align: center;
    }

    .footer h5 {
        margin-top: 20px;
    }

    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom a {
        display: block;
        margin: 10px 0 0;
    }

    /* Accounting cards */
    .accounting-badge {
        font-size: 0.75rem;
        left: 20px;
    }

    .accounting-card h3 {
        font-size: 1.25rem;
    }

    /* Touch-friendly buttons - minimum 44px height */
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn-lg {
        min-height: 50px;
        font-size: 1rem;
    }

    /* Touch-friendly form inputs */
    .form-control,
    .form-select {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Navigation touch targets */
    .navbar-nav .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Feature list spacing */
    .feature-list li {
        padding: 10px 0;
        padding-left: 24px;
    }

    /* Pricing features */
    .pricing-features li {
        padding: 10px 0;
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.375rem;
    }

    .section-title {
        font-size: 1.375rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: auto;
    }

    .logo-img {
        height: 42px;
    }

    .top-bar .contact-info a {
        font-size: 12px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding-top: 20px;
    }

    .min-vh-80 {
        min-height: auto;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        margin-bottom: 15px;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hero-stats {
        margin-top: 20px;
    }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-mockup,
    .floating-card {
        -webkit-font-smoothing: antialiased;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-card {
        animation: none;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* Uncomment to enable dark mode
    :root {
        --light-bg: #1a1a2e;
        --white: #2d2d44;
        --text-color: #e0e0e0;
        --text-muted: #a0a0a0;
        --border-color: #3d3d5c;
    }
    */
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth scrolling offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}
