/* Import Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables - Black & White Theme */
:root {
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --success-color: #22C55E;
    --error-color: #EF4444;
    --warning-color: #F59E0B;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--primary-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-black);
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

p {
    color: var(--gray-600);
    line-height: 1.8;
    text-align: center;
}

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

/* Grid Background Pattern */
.hero::before,
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, var(--gray-200) 1px, transparent 1px),
        linear-gradient(to bottom, var(--gray-200) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

/* Navigation */
.navbar {
    background: var(--primary-white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-black);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-black);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-black);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

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

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

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-black);
    transition: var(--transition);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-block;
    text-align: center;
    letter-spacing: -0.01em;
}

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

.btn-primary:hover {
    background: var(--gray-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-black);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--primary-black);
}

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

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    background: var(--gray-50);
    padding: 8rem 0 10rem;
    overflow: hidden;
    text-align: center;
    min-height: 100vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80vh;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 900px;
    margin: 0 auto;
}

.hero-text h1 {
    color: var(--primary-black);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    word-wrap: break-word;
    max-width: 100%;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--gray-600);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-image {
    max-width: 900px;
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xl);
}

/* Stats Section */
.stats-section {
    position: relative;
    padding: 6rem 0;
    background: var(--primary-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto 4rem;
    font-weight: 400;
}

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

.stat-card {
    background: var(--primary-white);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-black);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

/* Different colors for each stat number */
.stat-card:nth-child(1) .stat-number {
    color: #FF6B35;
}

.stat-card:nth-child(2) .stat-number {
    color: #004E89;
}

.stat-card:nth-child(3) .stat-number {
    color: #F77F00;
}

.stat-card:nth-child(4) .stat-number {
    color: #06A77D;
}

.stat-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.75rem;
}

.stat-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Operational Section */
.operational-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.operational-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: visible;
}

.operational-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: visible;
}

.operational-column h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid;
    font-weight: 700;
}

.operational-card {
    background: var(--primary-white);
    border: 2px solid var(--primary-black);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    transition: var(--transition);
}

.operational-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
    text-align: center;
}

.operational-card:nth-child(1) .card-title {
    color: #FF6B6B;
}

.operational-card:nth-child(3) .card-title {
    color: #FFA500;
}

.operational-card:nth-child(5) .card-title {
    color: #4CAF50;
}

.card-points {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.point-item {
    position: relative;
    padding-left: 0;
    text-align: left;
    min-height: 40px;
    display: flex;
    align-items: center;
    padding-right: 45px;
}

.point-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.icon-red {
    background: #ffebee;
}

.icon-orange {
    background: #fff3e0;
}

.icon-green {
    background: #e8f5e9;
}

.point-item p {
    color: var(--gray-700);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-black);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

/* Features Preview */
.features-preview {
    padding: 6rem 0;
    background: var(--primary-white);
}

.feature-block {
    margin-bottom: 6rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.feature-block.feature-reverse {
    direction: ltr;
}

.feature-block.feature-reverse > * {
    direction: ltr;
}

.feature-badge {
    display: inline-block;
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-block h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.feature-description {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.benefit-item img,
.benefit-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 0.75rem;
    border-radius: 8px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
}

.benefit-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-black);
}

.routing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.routing-feature {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    text-align: center;
}

.routing-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.routing-feature p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.routing-feature img {
    width: 100%;
    max-width: 120px;
    margin: 1.5rem auto 0;
    border-radius: 8px;
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--primary-white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-black);
}

.faq-question {
    width: 100%;
    background: var(--primary-white);
    border: none;
    padding: 1.1rem 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-black);
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary-black);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1rem;
    color: var(--gray-600);
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.5;
}

.faq-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.faq-cta p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--primary-black);
    color: var(--primary-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--primary-white);
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
}

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

.cta-section .btn-primary:hover {
    background: var(--gray-100);
}

/* Pricing Section */
.pricing-hero {
    padding: 5rem 0 3rem;
    background: var(--gray-50);
    text-align: center;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-label {
    font-weight: 600;
    color: var(--gray-700);
}

.discount-badge {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: var(--primary-black);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.pricing-section {
    padding: 4rem 0 6rem;
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--primary-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.pricing-card.featured {
    padding-top: 3.5rem;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-black);
    transform: scale(1.03);
    padding-top: 3.5rem;
}

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

.popular-badge {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 0.6rem 1.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.plan-name {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--primary-black);
    letter-spacing: -0.01em;
}

.plan-price {
    margin-bottom: 1.5rem;
}

.currency {
    font-size: 1.25rem;
    vertical-align: super;
    color: var(--gray-600);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-black);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.price-custom {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-700);
}

.period {
    color: var(--gray-500);
    font-size: 0.95rem;
    display: block;
    margin-top: 0.5rem;
}

.plan-description {
    color: var(--gray-600);
    margin-bottom: 2rem;
    min-height: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.plan-features li::before {
    content: '✓';
    color: var(--primary-black);
    font-weight: 700;
    margin-right: 0.75rem;
    display: inline-block;
    width: 18px;
    text-align: center;
}

/* Features Comparison */
.features-comparison {
    padding: 6rem 0;
    background: var(--primary-white);
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--primary-white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
}

.comparison-table th {
    background: var(--primary-black);
    color: var(--primary-white);
    font-weight: 700;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: var(--gray-50);
}

/* Contact Section */
.contact-hero {
    padding: 5rem 0 3rem;
    background: var(--gray-50);
    text-align: center;
}

.contact-section {
    padding: 3rem 0 6rem;
    background: var(--primary-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h2 {
    margin-bottom: 1rem;
    text-align: left;
}

.contact-info > p {
    text-align: left;
}

.info-items {
    margin: 2rem 0;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.info-icon {
    font-size: 2rem;
}

.info-item h4 {
    margin-bottom: 0.5rem;
    text-align: left;
}

.info-item p {
    text-align: left;
}

.info-item a {
    color: var(--primary-black);
    font-weight: 500;
}

.info-item a:hover {
    text-decoration: underline;
}

.business-hours {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid var(--gray-200);
}

.business-hours h4 {
    margin-bottom: 1rem;
    text-align: left;
}

.business-hours p {
    text-align: left;
    color: var(--gray-700);
}

.contact-form-wrapper {
    background: var(--gray-50);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

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

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    background: var(--primary-white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-input.error,
.form-textarea.error {
    border-color: var(--error-color);
}

.form-group .error {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

.map-section {
    padding: 3rem 0;
    background: var(--gray-50);
}

.map-placeholder img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

/* Blog Section */
.blog-hero {
    padding: 5rem 0 3rem;
    background: var(--gray-50);
    text-align: center;
}

.blog-list-section {
    padding: 3rem 0 6rem;
    background: var(--primary-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    background: var(--primary-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--gray-200);
}

.blog-card-content {
    padding: 2rem;
}

.blog-date {
    color: var(--gray-500);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
}

.blog-card h3 {
    margin: 0.75rem 0;
    font-size: 1.5rem;
    text-align: left;
}

.blog-card h3 a:hover {
    color: var(--gray-600);
}

.blog-card p {
    text-align: left;
}

.read-more {
    color: var(--primary-black);
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    border-bottom: 2px solid var(--primary-black);
    padding-bottom: 2px;
}

.read-more:hover {
    opacity: 0.7;
}

.no-posts {
    text-align: center;
    padding: 4rem 0;
}

.no-posts p {
    font-size: 1.25rem;
}

/* Blog Detail */
.blog-detail-hero {
    padding: 5rem 0 3rem;
    text-align: center;
    background: var(--gray-50);
}

.blog-detail-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.blog-meta {
    font-size: 1rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-detail-content {
    padding: 3rem 0 6rem;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-featured-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 3rem;
    border: 1px solid var(--gray-200);
}

.blog-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.blog-text p {
    text-align: left;
}

.blog-navigation {
    text-align: center;
    margin-top: 3rem;
}

/* Features Section */
.features-hero {
    padding: 5rem 0 3rem;
    background: var(--gray-50);
    text-align: center;
}

/* Feature Sections */
.feature-section {
    padding: 6rem 0;
    background: var(--primary-white);
    border-bottom: 1px solid var(--gray-200);
}

.feature-section-alt {
    background: var(--gray-50);
}

.feature-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-header .feature-badge {
    display: inline-block;
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.feature-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.feature-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-image-column {
    display: flex;
    justify-content: center;
}

.feature-image-column img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.feature-benefits-column {
    display: flex;
    flex-direction: column;
}

.benefit-cards-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-card-horizontal {
    background: var(--primary-white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.feature-section-alt .benefit-card-horizontal {
    background: var(--primary-white);
}

.benefit-card-horizontal:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-black);
}

.benefit-card-horizontal img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    border-radius: 4px;
    object-fit: cover;
}

.benefit-card-horizontal h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.benefit-card-horizontal p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}

/* Old feature grid styles for backward compatibility */
.features-grid-section {
    padding: 3rem 0 6rem;
    background: var(--primary-white);
}

.features-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card-large {
    background: var(--primary-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

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

.feature-card-large img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.feature-card-large h2 {
    padding: 3.5rem 1.5rem 0.5rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.feature-card-large p {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    color: var(--gray-600);
}

.feature-card-large .feature-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

/* Feature Detail */
.feature-detail-hero {
    padding: 5rem 0 3rem;
    text-align: center;
    background: var(--gray-50);
}

.feature-detail-hero h1 {
    color: var(--primary-black);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

.feature-detail-content {
    padding: 6rem 0;
    background: var(--primary-white);
}

.feature-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    background: var(--gray-50);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

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

.benefit-card img {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 8px;
    background: var(--gray-200);
    flex-shrink: 0;
}

.benefit-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--gray-600);
    line-height: 1.6;
    flex-grow: 1;
}

.feature-cta {
    text-align: center;
    background: var(--gray-50);
    padding: 4rem 3rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    max-width: 800px;
    margin: 0 auto;
}

.feature-cta h2 {
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-white);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: left;
    font-size: 1rem;
}

.footer-section p {
    color: var(--gray-400);
    margin-bottom: 0.4rem;
    text-align: left;
    line-height: 1.4;
    font-size: 0.9rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.footer-section a {
    color: var(--gray-400);
}

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

.contact-info {
    margin-top: 0.75rem;
}

.footer-newsletter {
    background: var(--gray-900);
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    border: 1px solid var(--gray-800);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.footer-newsletter h4 {
    color: var(--primary-white);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: left;
}

.footer-newsletter p {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    text-align: left;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0;
    width: 100%;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 150px;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-700);
    border-radius: 6px;
    background: var(--gray-800);
    color: var(--primary-white);
    font-family: 'Inter', sans-serif;
}

.newsletter-form input::placeholder {
    color: var(--gray-500);
}

.newsletter-form button {
    padding: 0.875rem 1.5rem;
    background: var(--primary-white);
    color: var(--primary-black);
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-form button:hover {
    background: var(--gray-200);
}

.newsletter-message {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    text-align: left;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
}

/* Messages/Alerts */
.messages-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.3s ease;
    border: 1px solid;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background: var(--primary-white);
    color: var(--success-color);
    border-color: var(--success-color);
}

.alert-error {
    background: var(--primary-white);
    color: var(--error-color);
    border-color: var(--error-color);
}

.alert-warning {
    background: var(--primary-white);
    color: var(--warning-color);
    border-color: var(--warning-color);
}

.alert-info {
    background: var(--primary-white);
    color: var(--primary-black);
    border-color: var(--primary-black);
}

.close-alert {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .operational-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

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

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .feature-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .routing-features {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-white);
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .feature-benefits {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .features-main-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

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

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .messages-container {
        left: 10px;
        right: 10px;
        max-width: none;
    }

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

    .feature-block h2 {
        font-size: 1.75rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }
