@import "design-tokens.css";

/* ===================================
   Global Styles (tokens in design-tokens.css)
   =================================== */
body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--bg-page);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.3s, color 0.3s;
}

/* Page background: radial gradient + dot grid (Ref_design) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at top, var(--bg-page-gradient-start), var(--bg-page-gradient-mid), var(--bg-page-gradient-end));
    z-index: 0;
    pointer-events: none;
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(currentColor 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: var(--dot-grid-opacity);
    z-index: 0;
    pointer-events: none;
}
body > * {
    position: relative;
    z-index: 1;
}

/* Language Selector – in navbar (rightmost); when standalone use .language-selector-standalone */
.language-selector {
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 8px;
    box-shadow: none;
}
.header .language-selector {
    position: static;
    z-index: auto;
}
.language-selector-standalone {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: var(--bg-surface);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.language-dropdown {
    padding: 8px 12px;
    padding-right: 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--secondary-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230891b2' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
    font-family: var(--font-sans);
}

.language-dropdown:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 8px var(--accent-glow);
}

.language-dropdown:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.language-dropdown option {
    background: var(--bg-surface);
    color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Gradient Text (accent)
   =================================== */
.gradient-text {
    color: var(--accent);
    font-weight: 700;
}

/* ===================================
   Buttons (Ref_design: primary cyan-to-blue, secondary slate)
   =================================== */
button {
    cursor: pointer;
    border: none;
    padding: 12px 28px;
    border-radius: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
    font-family: var(--font-display);
    font-size: 1em;
    display: block;
    margin: 0 auto;
}

button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 0 24px var(--accent-glow);
}

.btn-primary {
    padding: 16px 32px;
    font-size: 1em;
    border-radius: 16px;
    background: var(--accent-gradient);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    filter: brightness(1.1);
}

a.btn-primary,
a.btn-primary:hover,
a.btn-primary:visited {
    color: #fff;
}

/* Secondary button (Ref_design) – Sign Up and Login same style */
.btn-secondary,
.signup-button,
.login-button {
    background: var(--secondary-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: none;
    text-decoration: none;
}
a.signup-button,
a.login-button {
    text-decoration: none;
}
.btn-secondary:hover,
.signup-button:hover,
.login-button:hover {
    background: var(--secondary-hover);
    color: var(--accent);
    text-decoration: none;
}

/* ===================================
   Header with Logo (Ref_design: sticky, backdrop-blur, border)
   =================================== */
.header {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s, border-color 0.3s;
}
html.dark .header {
    background: rgba(2, 6, 23, 0.6);
    border-bottom-color: var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
}

.header-logo-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.header-powered {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin: 4px 0 0 0;
    font-weight: 500;
}

.header-powered a {
    color: var(--accent);
    text-decoration: none;
}

.header-powered a:hover {
    text-decoration: underline;
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.8em;
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
    font-family: var(--font-display);
}

/* Ref_design: brand = solid + gradient part (cyan–indigo light, cyan–amber dark) */
.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
.brand-name .gradient-part {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.brand-tagline {
    font-size: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-top: 2px;
}

.home-button {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--accent-glow);
}

.home-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 0 24px var(--accent-glow);
}

.home-button i {
    font-size: 1em;
}

/* Dark mode toggle button (Ref_design: slate bg, visible icons) */
.dark-toggle-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background: var(--secondary-bg);
    border: 1px solid var(--border);
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    flex-shrink: 0;
    padding: 0;
    position: relative;
}
html.dark .dark-toggle-btn {
    color: #94a3b8;
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
}
.dark-toggle-btn:hover {
    color: var(--accent);
}
html.dark .dark-toggle-btn:hover {
    color: #67e8f9;
}
.dark-toggle-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
}
.dark-toggle-btn .icon-sun,
.dark-toggle-btn .icon-moon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.dark-toggle-btn .icon-sun { display: none; }
.dark-toggle-btn .icon-moon { display: block; }
html.dark .dark-toggle-btn .icon-sun { display: block; }
html.dark .dark-toggle-btn .icon-moon { display: none; }

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    background: transparent;
}

.hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-primary);
    font-family: var(--font-display);
}

/* Ref_design: hero title brand (DigiSevak:) in primary color, tagline in gradient */
.hero-title-brand {
    color: var(--text-primary);
}
.hero-title-tagline {
    background: linear-gradient(to right, #0891b2, #4f46e5, #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
html.dark .hero-title-tagline {
    background: linear-gradient(to right, #22d3ee, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    color: var(--text-secondary);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.service-hero-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-hero-icon i {
    font-size: 5em;
    color: var(--accent);
    opacity: 0.9;
}

/* ===================================
   Section Styles
   =================================== */
.section {
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.section-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-secondary);
}

/* Setup Cost and Choose URL cards – use theme variables for light/dark */
.setup-cost-card {
    text-align: left;
    margin: 40px 0;
    padding: 30px;
    background: var(--bg-surface-muted);
    border-radius: 12px;
    border: 1px solid var(--border);
}
.setup-cost-card p,
.setup-cost-card .setup-cost-title {
    font-size: 1.1em;
    color: var(--text-primary);
    margin: 0 0 15px 0;
}
.setup-cost-card .setup-cost-muted {
    color: var(--text-secondary);
}
html.dark .setup-cost-card .setup-cost-muted {
    color: #cbd5e1;
}
.setup-cost-card .setup-includes-title {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin: 0 0 10px 0;
}
html.dark .setup-cost-card .setup-includes-title {
    color: #cbd5e1;
}
.setup-cost-card ul {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin: 0;
    padding-left: 24px;
    line-height: 1.8;
    list-style: none;
}
html.dark .setup-cost-card ul {
    color: #cbd5e1;
}
.setup-cost-card li {
    margin-bottom: 6px;
}
.setup-cost-card li:last-child {
    margin-bottom: 0;
}

.choose-url-card {
    max-width: 500px;
    margin: 0 auto 30px auto;
    padding: 20px;
    background: var(--bg-surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.choose-url-card .choose-url-title {
    color: var(--text-primary);
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-align: center;
    font-family: var(--font-display);
}
.choose-url-card .choose-url-example {
    color: var(--text-primary);
    font-size: 0.95em;
    margin: 0;
    line-height: 1.8;
    text-align: center;
    font-family: var(--font-sans);
}
html.dark .choose-url-card .choose-url-example {
    color: #e2e8f0;
}

.pricing-subsection-title.themed {
    color: var(--text-primary);
}
.section-description.themed {
    color: var(--text-secondary);
}
html.dark .section-description.themed {
    color: #cbd5e1;
}

/* ===================================
   Card Styles
   =================================== */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.card-link {
    text-decoration: none;
    flex: 1 1 300px;
    max-width: 350px;
    display: block;
}

.card-link.business-link {
    flex: 1 1 200px;
    max-width: 250px;
}

.card {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    flex: 1 1 300px;
    max-width: 350px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.service-card {
    text-align: center;
}

.service-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon i {
    font-size: 3em;
    color: var(--accent);
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
    opacity: 1;
}

.card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-family: var(--font-display);
}
.card-title-accent {
    color: var(--accent);
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}
/* Dark mode: improve contrast for card/description text */
html.dark .card-text,
html.dark .price-card-description,
html.dark .feature-item,
html.dark .plan-price-secondary,
html.dark .landing-page-addon {
    color: #cbd5e1;
}

/* ===================================
   Business Cards
   =================================== */
.business-card {
    flex: 1 1 200px;
    max-width: 250px;
    padding: 20px;
    border: 1px solid var(--border);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: 16px;
}

.business-title {
    color: var(--text-primary);
    font-size: 1.3em;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    font-family: var(--font-display);
}

/* ===================================
   Audience Section
   =================================== */
.audience-section {
    background: var(--bg-surface);
    border-radius: 16px;
    margin: 40px auto;
    max-width: 1200px;
    border: 1px solid var(--border);
}

/* ===================================
   Pricing Section (comparison table – 3 plans)
   =================================== */
.pricing-table-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.pricing-table-heading {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-align: left;
    margin: 0 0 0.25rem 0;
}

.pricing-table-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: left;
    margin: 0 0 1.5rem 0;
}

.pricing-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.pricing-table th,
.pricing-table td {
    padding: 0.85rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

/* Keep feature column (first column) left-aligned */
.pricing-table th:first-child,
.pricing-table td:first-child {
    text-align: left;
}

.pricing-table thead th {
    border-bottom: 2px solid var(--border);
    padding-top: 0;
}

.pricing-feature-col {
    width: 38%;
    min-width: 200px;
    text-align: left;
}

.pricing-plan-col {
    min-width: 140px;
}

.pricing-plan-col .plan-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    font-family: var(--font-display);
}

.pricing-plan-col .plan-price {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.pricing-plan-essential .plan-name,
.pricing-plan-essential .plan-price { color: var(--text-secondary); }
.pricing-plan-professional .plan-name,
.pricing-plan-professional .plan-price { color: #0d9488; }
.pricing-plan-premium .plan-name,
.pricing-plan-premium .plan-price { color: var(--accent); }

.pricing-feature-label {
    color: var(--text-primary);
    font-size: 0.95rem;
    text-align: left;
}

.pricing-cell {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-yes {
    color: #16a34a;
    font-weight: bold;
    font-size: 1.15rem;
}

.pricing-no {
    color: #dc2626;
    font-weight: bold;
    font-size: 1.1rem;
}

.pricing-cta-row .pricing-cell {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.pricing-btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.pricing-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.pricing-btn-essential {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-primary);
}

.pricing-btn-professional {
    background: #0d9488;
    color: #fff;
    border: none;
}

.pricing-btn-premium {
    background: var(--accent);
    color: #fff;
    border: none;
}

/* Subsection below table: Setup cost + Landing page */
.pricing-subsection {
    margin-bottom: 60px;
}

.pricing-subsection:last-child {
    margin-bottom: 0;
}

.pricing-subsection-title {
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.pricing-subsection-title.themed {
    color: var(--text-primary);
}

.pricing-container {
    align-items: stretch;
    display: flex;
}

/* Landing page card (single card below table) */
.static-webpage-card {
    flex: 1 1 300px;
    max-width: 350px;
    min-width: 0;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.price-card-title,
.static-webpage-card .price-card-title {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.static-webpage-card .btn-primary {
    margin-left: 12px;
    margin-right: 12px;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    display: block;
    box-sizing: border-box;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    text-align: center;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    width: 100%;
    max-width: fit-content;
}

.checkmark {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

.plan-price {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--text-primary);
    margin: 15px 0;
    font-family: var(--font-display);
}

/* Monthly Plans (if used elsewhere) */
.monthly-plans {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.monthly-plan {
    background: var(--bg-surface);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.monthly-plan:last-child {
    border-color: var(--accent);
}

.plan-name {
    color: var(--text-primary);
    font-size: 1.5em;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.plan-price-secondary {
    font-size: 1.2em;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.9;
}

.monthly-plan .plan-features {
    text-align: center;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.monthly-plan button {
    margin-top: 20px;
    background: var(--accent-gradient);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 40px 20px;
    text-align: center;
    background: var(--bg-surface);
    color: var(--text-secondary);
    margin-top: 60px;
    border-top: 1px solid var(--border);
}

.footer-links {
    margin-top: 10px;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-hover);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .card-link {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }

    .card-link.business-link {
        flex: 1 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }

    .pricing-table-card {
        padding: 1.5rem 1rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.7rem 0.75rem;
        font-size: 0.85rem;
    }

    .pricing-plan-col .plan-name { font-size: 1rem; }
    .pricing-plan-col .plan-price { font-size: 0.9rem; }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 15px 12px;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
    }

    .header-logo-wrap {
        order: 1;
    }

    .header-actions {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .header-powered {
        font-size: 10px;
        margin-top: 4px;
    }

    .logo {
        height: 40px;
    }

    .logo-text {
        font-size: 1.5em;
    }

    .login-button,
    .home-button {
        position: static;
        margin-left: auto;
        padding: 12px 20px;
        min-height: 44px;
        font-size: 0.9em;
        order: 2;
        width: auto;
        max-width: 100%;
        margin-top: 8px;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding: 24px 15px;
    }

    .service-hero-icon i {
        font-size: 4em;
    }

    .hero-title {
        font-size: 2.5em;
        line-height: 1.2;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 1.2em;
        padding: 0 10px;
    }

    .section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .section-description {
        font-size: 1.1em;
        padding: 0 10px;
    }

    .card-container {
        gap: 20px;
        margin-top: 30px;
    }

    .card-link {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .card-link.business-link {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .card {
        max-width: 100%;
        padding: 25px 20px;
    }

    .business-card {
        padding: 15px;
        min-height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .business-title {
        font-size: 1.1em;
        text-align: center;
        margin: 0;
    }

    .pricing-table-card {
        padding: 1.25rem 0.75rem;
        border-radius: 16px;
    }

    .pricing-table-heading {
        font-size: 1.1rem;
    }

    .pricing-table-subtitle {
        font-size: 0.8rem;
    }

    .pricing-table {
        min-width: 480px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.6rem 0.6rem;
        font-size: 0.8rem;
    }

    .pricing-feature-label {
        font-size: 0.85rem;
    }

    .pricing-plan-col .plan-name { font-size: 0.95rem; }
    .pricing-plan-col .plan-price { font-size: 0.85rem; }

    .pricing-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .pricing-subsection {
        margin-bottom: 40px;
    }

    .pricing-subsection-title {
        font-size: 1.6em;
        margin-bottom: 25px;
    }

    .static-webpage-card {
        max-width: 100%;
        min-height: auto;
    }

    .plan-price {
        font-size: 1.6em;
    }

    .plan-price-secondary {
        font-size: 1.1em;
    }

    button {
        padding: 10px 20px;
        font-size: 0.9em;
        width: 100%;
        max-width: 300px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 1em;
    }

    .service-icon i {
        font-size: 2.5em;
    }

    .feature-item {
        font-size: 0.95em;
    }

    .monthly-plans {
        gap: 15px;
    }

    .monthly-plan {
        padding: 15px;
    }

    .plan-name {
        font-size: 1.3em;
    }

    .footer {
        padding: 30px 15px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    .footer-link {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .header {
        padding: 12px 10px;
    }

    .header-logo-wrap .logo {
        height: 35px;
    }

    .header-powered {
        font-size: 9px;
    }

    .logo {
        height: 35px;
    }

    .logo-text {
        font-size: 1.3em;
    }

    .login-button,
    .home-button {
        padding: 12px 16px;
        font-size: 0.85em;
    }

    .hero {
        min-height: auto;
        padding: 20px 10px;
    }

    .service-hero-icon i {
        font-size: 3em;
    }

    .hero-title {
        font-size: 2em;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .section {
        padding: 40px 10px;
    }

    .section-title {
        font-size: 1.5em;
        margin-bottom: 25px;
    }

    .section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .card-container {
        gap: 15px;
        margin-top: 25px;
    }

    .card-link.business-link {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .card {
        padding: 20px 15px;
    }

    .business-card {
        padding: 12px;
        min-height: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .business-title {
        font-size: 1em;
        text-align: center;
        margin: 0;
    }

    .card-title {
        font-size: 1.5em;
        margin-bottom: 12px;
    }

    .card-text {
        font-size: 0.9em;
        line-height: 1.5;
    }

    .pricing-table-card {
        padding: 1rem 0.5rem;
    }

    .pricing-table {
        min-width: 440px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 0.5rem 0.5rem;
        font-size: 0.75rem;
    }

    .pricing-feature-col {
        min-width: 160px;
    }

    .pricing-plan-col .plan-name { font-size: 0.85rem; }
    .pricing-plan-col .plan-price { font-size: 0.8rem; }

    .pricing-btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.75rem;
    }

    .static-webpage-card {
        min-height: auto;
    }

    .pricing-subsection-title {
        font-size: 1.4em;
        margin-bottom: 20px;
    }

    .feature-item {
        font-size: 0.9em;
        margin-bottom: 8px;
    }

    .checkmark {
        font-size: 1.1em;
        margin-right: 8px;
    }

    .btn-primary {
        padding: 12px 25px;
        font-size: 0.95em;
    }

    .service-icon i {
        font-size: 2em;
    }

    .monthly-plan {
        padding: 12px;
    }

    .plan-name {
        font-size: 1.1em;
    }

    .footer {
        padding: 25px 10px;
        font-size: 0.9em;
    }

    .audience-section {
        margin: 30px auto;
        padding: 30px 10px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.7em;
    }

    .section-title {
        font-size: 1.3em;
    }

    .card-title {
        font-size: 1.3em;
    }

    .pricing-table-heading {
        font-size: 1rem;
    }

    .pricing-plan-col .plan-name { font-size: 0.8rem; }
    .pricing-plan-col .plan-price { font-size: 0.75rem; }
}

/* ===================================
   Modal Styles
   =================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-surface);
    margin: 2% auto;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0;
    z-index: 2001;
    background: var(--bg-surface);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
}

.modal-close:hover,
.modal-close:focus {
    color: #fff;
    background: var(--accent-gradient);
    transform: scale(1.05);
    text-decoration: none;
    box-shadow: 0 0 20px var(--accent-glow);
    border-color: transparent;
}

.modal-hero {
    padding: 25px 20px;
    text-align: center;
    background: var(--bg-surface);
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid var(--border);
}

.modal-hero .service-hero-icon {
    margin-bottom: 12px;
}

.modal-hero .service-hero-icon i {
    font-size: 2.5em;
}

.modal-hero .hero-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.modal-hero .hero-subtitle {
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
    color: var(--text-secondary);
}

.modal .section {
    padding: 25px 20px;
    background: var(--bg-surface);
}

.modal .section:last-child {
    padding-bottom: 25px;
}

.modal .section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.modal .card-container {
    gap: 15px;
}

.modal .card {
    padding: 18px;
    min-height: auto;
    background: var(--bg-surface);
    border: 1px solid var(--border);
}

.modal .card-title {
    color: var(--text-primary);
}

.modal .card-text {
    color: var(--text-secondary);
}

.modal .service-icon {
    margin-bottom: 12px;
}

.modal .service-icon i {
    font-size: 1.8em;
    color: var(--accent);
}

.modal .card-title {
    font-size: 1.15em;
    margin-bottom: 10px;
}

.modal .card-text {
    font-size: 0.85em;
    line-height: 1.5;
}

/* Modal responsive styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 3% auto;
        max-height: 94vh;
        border-radius: 10px;
    }

    .modal-close {
        right: 12px;
        top: 12px;
        font-size: 28px;
        width: 35px;
        height: 35px;
    }

    .modal-hero {
        padding: 20px 15px;
        border-radius: 10px 10px 0 0;
    }

    .modal-hero .service-hero-icon i {
        font-size: 2.2em;
    }

    .modal-hero .hero-title {
        font-size: 1.6em;
    }

    .modal-hero .hero-subtitle {
        font-size: 0.9em;
    }

    .modal .section {
        padding: 20px 15px;
    }

    .modal .section-title {
        font-size: 1.3em;
        margin-bottom: 15px;
    }

    .modal .card-container {
        gap: 12px;
    }

    .modal .card {
        padding: 15px;
    }

    .modal .service-icon i {
        font-size: 1.6em;
    }

    .modal .card-title {
        font-size: 1.05em;
    }

    .modal .card-text {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .language-selector {
        top: 10px;
        left: 10px;
    }

    .language-dropdown {
        padding: 8px 12px;
        font-size: 0.8rem;
        padding-right: 30px;
    }

    .modal-content {
        width: 100%;
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-close {
        right: 10px;
        top: 10px;
        font-size: 26px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }

    .modal-hero {
        border-radius: 0;
        padding: 18px 12px;
    }

    .modal-hero .service-hero-icon i {
        font-size: 2em;
    }

    .modal-hero .hero-title {
        font-size: 1.4em;
    }

    .modal-hero .hero-subtitle {
        font-size: 0.85em;
    }

    .modal .section {
        padding: 18px 12px;
    }

    .modal .section-title {
        font-size: 1.2em;
        margin-bottom: 12px;
    }

    .modal .card-container {
        gap: 10px;
    }

    .modal .card {
        padding: 12px;
    }

    .modal .service-icon i {
        font-size: 1.5em;
    }

    .modal .card-title {
        font-size: 1em;
    }

    .modal .card-text {
        font-size: 0.75em;
    }
}