/* ========================================
   CONSOLIDATED STYLES - Single Page Website
   ======================================== */

/* CSS Variables */
:root {
    /* Force light mode - prevents browser from auto-applying dark mode */
    color-scheme: light only;
    
    /* Färger */
    --primary-color: #0084c7;
    --primary-hover: #006a9e;
    --secondary-color: #64748b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-gray: #f1f5f9;
    --background-gray-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    --border-color: #e5e7eb;
    --black: #000000;
    
    /* Typography */
    --font-inter: 'Inter', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-heavy: 800;
    
    /* Layout */
    --max-width-container: 1200px;
    --max-width-narrow: 600px;
    --max-width-wide: 800px;
    
    /* Shoelace brand colors */
    --sl-color-primary-50: #eff6ff;
    --sl-color-primary-100: #dbeafe;
    --sl-color-primary-200: #bfdbfe;
    --sl-color-primary-300: #93c5fd;
    --sl-color-primary-400: #60a5fa;
    --sl-color-primary-500: #3b82f6;
    --sl-color-primary-600: #2563eb;
    --sl-color-primary-700: #1d4ed8;
    --sl-color-primary-800: #1e40af;
    --sl-color-primary-900: #1e3a8a;
}

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

/* Base typography */
body {
    font-family: var(--font-inter);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 0.5rem 0.5rem;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--primary-hover);
    outline-offset: 2px;
}

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

.container-centered {
    margin: 0 auto;
}

.no-text-decoration {
    text-decoration: none;
}

.full-width-link {
    width: 100%;
    display: block;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.hidden {
    display: none;
}

/* Section titles - shared across sections */
.section-title {
    font-weight: var(--font-weight-bold);
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* ========================================
   BUTTON STYLES
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-inter);
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Button sizes */
.btn-md {
    padding: 0.625rem 1.25rem;
    min-height: 40px;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    min-height: 48px;
    font-size: 1rem;
}

/* Primary button */
.btn-primary {
    background-color: var(--primary-color);
    color: white !important;
}

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

.btn-primary:active {
    background-color: #005580;
}

/* Default/outline button */
.btn-default {
    background-color: white;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-default:hover {
    background-color: var(--background-gray);
    border-color: #d1d5db;
}

.btn-default:active {
    background-color: #e5e7eb;
}

/* Full width button */
.btn-full {
    width: 100%;
}

/* Button loading state */
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Button icon */
.btn-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

/* ========================================
   FORM STYLES
   ======================================== */

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-color);
}

.form-input,
.form-textarea {
    font-family: var(--font-inter);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: white;
    color: var(--text-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
}

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

.form-input:hover:not(:focus),
.form-textarea:hover:not(:focus) {
    border-color: #d1d5db;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   BADGE STYLES
   ======================================== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-neutral {
    background-color: #f1f5f9;
    color: #475569;
}

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

/* ========================================
   ICON STYLES
   ======================================== */

.icon {
    display: inline-flex;
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

.icon-check {
    color: #22c55e;
}

.icon-external {
    color: currentColor;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.logo img {
    height: clamp(8rem, 10vw, 9rem);
    width: auto;
    display: block;
}

.logo strong {
    font-weight: var(--font-weight-bold);
    font-size: 40px;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--black);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: var(--font-weight-medium);
    transition: color 0.2s ease;
}

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

/* Navigation menu button styling */
.nav-menu a.btn-primary {
    color: white;
}

.nav-menu a.btn-primary:hover {
    color: white;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    padding: 4rem 2rem;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.hero-container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    text-align: center;
    max-width: 100%;
}

/* Hero title - centrerad som Bella Rosa exempel */
.hero-title {
    font-weight: var(--font-weight-bold);
    font-size: 64px;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--black);
    text-align: center;
    margin-bottom: 1.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero CTA styling for Shoelace buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.hero-cta a,
.nav-menu a {
    text-decoration: none;
}

/* Hero CTA button styling */
.hero-cta .btn {
    font-weight: var(--font-weight-medium);
}

/* ========================================
   BENEFITS SECTION
   ======================================== */

.benefits {
    padding: 4rem 1.5rem;
    background: var(--background-gray-gradient);
}

.benefits-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.benefits-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefits-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   WHY US SECTION
   ======================================== */

.why-us {
    padding: 3rem 2rem 1rem;
    background: var(--background);
}

.why-us-container {
    max-width: var(--max-width-container);
    margin: 0 auto;
}

.why-us-content {
    text-align: center;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.why-us-cta {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
}

.why-us-cta-text {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.6;
}

/* ========================================
   CARD COMPONENTS
   ======================================== */

.card {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Card Header */
.card-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Card Content */
.card-content {
    padding: 1rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Card Footer (optional) */
.card-footer {
    padding: 0 1.5rem 1.5rem;
    margin-top: auto;
    text-align: center;
}

/* Card Typography */
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.card-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--black);
    margin: 0 0 0.5rem 0;
    text-transform: none;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */

.portfolio {
    padding: 6rem 2rem;
    background: var(--background-gray-gradient);
}

.portfolio-container {
    max-width: var(--max-width-container);
    margin: 0 auto;
}

.portfolio-content {
    text-align: center;
}

/* Portfolio Grid */
.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

/* Portfolio Card - horisontell layout */
.portfolio-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    text-align: left;
}

.portfolio-card-header {
    padding: 0;
    grid-row: 1 / -1;
}

/* Portfolio Image */
.portfolio-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Portfolio Card Content */
.portfolio-card-content {
    align-items: flex-start;
    text-align: left;
    padding: 2rem;
}

.portfolio-card-content .badge {
    margin-bottom: 0.75rem;
}

.portfolio-card-content .card-title {
    text-transform: none;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.portfolio-card-content .card-description {
    text-align: left;
    margin-bottom: 1rem;
}

/* Portfolio Card Footer */
.portfolio-card .card-footer {
    padding: 0 2rem 2rem;
}

/* Portfolio Features */
.portfolio-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.portfolio-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-color);
}

.portfolio-features .icon {
    color: #22c55e;
    font-size: 1.125rem;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.pricing-container {
    max-width: var(--max-width-container);
    margin: 0 auto;
}

.pricing-content {
    text-align: center;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    align-items: start; /* Align cards to top for consistent layout */
}

.pricing-card {
    position: relative;
    overflow: visible;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--background);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card-featured {
    position: relative;
}

.pricing-card.pricing-card-featured {
    border: 2px solid var(--primary-color);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* Pricing badge styling */
.pricing-badge .badge {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
}

.pricing-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--black);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-light);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    line-height: 1;
}

.price-period {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: var(--font-weight-normal);
}

.pricing-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0 2rem;
    margin-bottom: 2rem;
    flex-grow: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-weight: var(--font-weight-normal);
}

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

.pricing-features .icon {
    color: #22c55e;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.pricing-cta {
    padding: 0 2rem 2rem;
}

.pricing-bottom-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    align-items: flex-start;
}

/* Override card-content centering for pricing cards */
.pricing-card .card-content {
    align-items: stretch !important;
    text-align: left !important;
}

/* Pricing card wrapper for proper rounded corners */
.pricing-card-wrapper {
    border-radius: 12px;
    overflow: visible;
    background: transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card-wrapper:hover {
    transform: translateY(-4px);
}

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

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: 6rem 2rem;
    background: var(--background-gray-gradient);
}

.contact-container {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
}

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

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

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: var(--font-weight-medium);
}

.form-message.success {
    background: #10b981;
    color: white;
}

.form-message.error {
    background: #ef4444;
    color: white;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: var(--background);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
}

.footer-container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-top: 1rem;
    padding: 0;
}

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

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

/* ========================================
   RESPONSIVE DESIGN - TABLET (max-width: 968px)
   ======================================== */
@media (max-width: 968px) {
    /* Pricing grid - stack cards on tablet */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Header adjustments */
    .nav-container {
        padding: 0 1rem;
        height: 64px;
    }
    
    .logo strong {
        font-size: 24px;
    }
    
    /* Hide nav menu on mobile - show only CTA */
    .nav-menu li:not(:last-child) {
        display: none;
    }
    
    /* Hero section - fills viewport on mobile */
    .hero {
        padding: 2rem 1.25rem 3rem;
        margin-top: 64px;
        min-height: calc(100vh - 64px);
        min-height: calc(100dvh - 64px); /* Dynamic viewport height for mobile browsers */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-container {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -0.02em;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    /* Sections */
    .benefits {
        padding: 3rem 1rem;
    }
    
    .benefits-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .why-us {
        padding: 3rem 1.25rem 2rem;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .why-us-cta {
        padding: 1rem 0;
    }
    
    .why-us-cta-text {
        font-size: 1rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Portfolio */
    .portfolio {
        padding: 4rem 1.5rem;
    }
    
    .portfolio-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
    }
    
    .portfolio-card-header {
        grid-row: 1;
    }
    
    .portfolio-image {
        border-radius: 12px 12px 0 0;
        max-height: 300px;
    }
    
    .portfolio-card-content {
        padding: 1.5rem;
    }
    
    .portfolio-card .card-footer {
        padding: 0 1.5rem 1.5rem;
    }
    
    /* Pricing section */
    .pricing {
        padding: 3rem 1.25rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .pricing-header {
        padding: 1.5rem 1.25rem 1rem;
    }
    
    .pricing-title {
        font-size: 1.25rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .price-currency {
        font-size: 1rem;
    }
    
    .price-period {
        font-size: 0.75rem;
    }
    
    .pricing-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .pricing-features {
        padding: 0 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .pricing-features li {
        padding: 0.625rem 0;
        font-size: 0.9rem;
    }
    
    .pricing-cta {
        padding: 0 1.25rem 1.5rem;
    }
    
    .pricing-features-below-cta {
        padding: 0 1.25rem;
    }
    
    .pricing-features-below-cta li {
        padding: 0.625rem 0;
        font-size: 0.9rem;
    }
    
    /* Contact section */
    .contact {
        padding: 3rem 1.25rem;
    }
    
    .contact-container {
        max-width: 100%;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    /* Footer */
    footer {
        padding: 1.5rem 1.25rem;
    }
    
    .footer-container {
        font-size: 0.875rem;
    }
    
    /* Cards responsive */
    .card-header {
        padding: 1.25rem 1.25rem 0;
    }
    
    .card-content {
        padding: 0.75rem 1.25rem 1.25rem;
    }
    
    .card-footer {
        padding: 0 1.25rem 1.25rem;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .card-title {
        font-size: 1.125rem;
    }
    
    .card-description {
        font-size: 0.875rem;
    }
}

/* ========================================
   RESPONSIVE DESIGN - SMALL MOBILE (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 1rem 2.5rem;
        min-height: calc(100vh - 64px);
        min-height: calc(100dvh - 64px);
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
    }
    
    .why-us {
        padding: 2.5rem 1rem 1.5rem;
    }
    
    .portfolio {
        padding: 3rem 1rem;
    }
    
    .portfolio-card-content .card-title {
        font-size: 1.25rem;
    }
    
    .portfolio-card-content {
        padding: 1.25rem;
    }
    
    .portfolio-card .card-footer {
        padding: 0 1.25rem 1.25rem;
    }
    
    .pricing {
        padding: 2.5rem 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-header {
        padding: 1.25rem 1rem 0.75rem;
    }
    
    .pricing-features,
    .pricing-cta,
    .pricing-features-below-cta {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .price-amount {
        font-size: 2.25rem;
    }
    
    .contact {
        padding: 2.5rem 1rem;
    }
    
    /* Cards responsive */
    .card-header {
        padding: 1rem 1rem 0;
    }
    
    .card-content {
        padding: 0.5rem 1rem 1rem;
    }
    
    .card-footer {
        padding: 0 1rem 1rem;
    }
    
    /* Navigation */
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-menu a:not(.btn) {
        font-size: 0.875rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ========================================
   LANDSCAPE ORIENTATION FIXES
   ======================================== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }
}

/* ========================================
   PREMIUM ANIMATION STYLES
   ======================================== */

/* Header scroll state */
.header-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* SplitType word styles */
.hero-title .word {
    display: inline-block;
}


/* Portfolio image hover zoom */
.portfolio-image img {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

/* Text selection styling */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Smooth focus transitions */
input:focus,
textarea:focus,
button:focus,
a:focus {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero {
        animation: none;
    }
}
