/*
Theme Name: Landing Theme
Theme URI: https://wordpress.org/themes/landing-theme/
Author: Your Name
Author URI: https://example.com
Description: A modern, clean WordPress theme perfect for landing pages and business websites.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: landing-theme
Tags: modern, clean, responsive, landing-page
*/

/* ==========================================================================
   Dawyn Theme - Utility Classes (for Tailwind-like classes)
   ========================================================================== */

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.container { max-width: 1128px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-12 { padding-top: 3rem; }
.pb-20 { padding-bottom: 5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.hidden { display: none; }
@media (min-width: 768px) { .md\:flex { display: flex; } .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } .md\:text-base { font-size: 1rem; } .md\:text-5xl { font-size: 3rem; } .md\:pb-32 { padding-bottom: 8rem; } .md\:pt-16 { padding-top: 4rem; } .md\:mb-16 { margin-bottom: 4rem; } .md\:text-xl { font-size: 1.25rem; } }
@media (min-width: 1024px) { .lg\:block { display: block; } .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; } .lg\:text-6xl { font-size: 3.75rem; } .lg\:right-\[-10\%\] { right: -10%; } }

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-white { color: #fff; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-purple-600 { color: #9333ea; }
.text-green-600 { color: #16a34a; }

.bg-white { background-color: #fff; }
.bg-black { background-color: #000; }
.bg-purple-600 { background-color: #9333ea; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-white { --tw-gradient-from: #fff; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0)); }
.via-white { --tw-gradient-stops: var(--tw-gradient-from), #fff, var(--tw-gradient-to, rgba(255, 255, 255, 0)); }
.to-purple-50 { --tw-gradient-to: #faf5ff; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }

.relative { position: relative; }
.absolute { position: absolute; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }

.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-64 { width: 16rem; }
.w-full { width: 100%; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 1128px; }

.aspect-video { aspect-ratio: 16 / 9; }

.overflow-hidden { overflow: hidden; }

.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.rotate-3 { --tw-rotate: 3deg; }
.-rotate-2 { --tw-rotate: -2deg; }
.rotate-\[-2deg\] { --tw-rotate: -2deg; }
@media (min-width: 768px) { .md\:rotate-\[-1\.5deg\] { --tw-rotate: -1.5deg; } }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

.hover\:bg-purple-700:hover { background-color: #7e22ce; }
.hover\:text-purple-600:hover { color: #9333ea; }
.hover\:text-purple-700:hover { color: #7e22ce; }

.no-underline { text-decoration: none; }
.whitespace-nowrap { white-space: nowrap; }

.space-y-4 > * + * { margin-top: 1rem; }

@media (min-width: 768px) { .md\:flex-row { flex-direction: row; } .md\:text-lg { font-size: 1.125rem; } }
@media (min-width: 1024px) { .lg\:hidden { display: none; } }

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #005177;
}

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

/* Responsive images and media */
.entry-content img,
.entry-content iframe,
.entry-content video,
.entry-content embed,
.entry-content object {
    max-width: 100%;
    height: auto;
}

/* Responsive tables */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    overflow-x: auto;
    display: block;
}

.entry-content table thead,
.entry-content table tbody,
.entry-content table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.entry-content table th,
.entry-content table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: left;
}

.entry-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    max-width: 1128px;
    margin: 0 auto;
    padding: 0 20px;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
    padding: 2rem 0;
    padding-top: 0;
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .site-main {
        padding-top: 0;
    }
}

/* ==========================================================================
   Header
   ========================================================================== */

#page.site {
    background-color: #FFFFFF;
    position: relative;
    z-index: 0;
}

.hero-section {
    background-color: #FFFFFF;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE0IiBoZWlnaHQ9IjExNCIgdmlld0JveD0iMCAwIDExNCAxMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yOSAyOEg4NVYwSDg2VjI4SDE0NFYyOUg4NlY4NUgxMTRWODZIODZWMTE0SDg1Vjg2SDI5VjExNEgyOFY4NkgwVjg1SDI4VjI5SDBWMjhIMjhWMDBIMjlWMjhaTTI5IDg1SDg1VjI5SDI5Vjg1WiIgZmlsbD0iIzI0MTA2NiIgZmlsbC1vcGFjaXR5PSIwLjA0Ii8+Cjwvc3ZnPgo=');
    background-size: 57px 57px;
    background-repeat: repeat;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 75%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top right, rgba(91, 41, 255, 0.05) 0%, rgba(91, 41, 255, 0.02) 9%, rgba(250, 250, 250, 0.02) 25%, rgba(250, 250, 250, 0.05) 75%, rgba(91, 41, 255, 0.05) 94%, rgba(91, 41, 255, 0.10) 100%);
    pointer-events: none;
    z-index: 1;
}

.site-header {
    background: transparent;
    padding: 0;
    position: fixed;
    top: 0.25rem;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
}

@media (min-width: 768px) {
    .site-header {
        top: 1.5rem;
    }
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    flex: 1;
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

.site-title a:hover {
    color: #0073aa;
}

.site-description {
    font-size: 0.875rem;
    color: #666;
    margin: 0.25rem 0 0 0;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #666666;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(0, 115, 170, 0.1);
}

.nav-menu a:hover,
.nav-menu a:active,
.nav-menu a:focus {
    color: #191919;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: transparent;
    position: relative;
    z-index: 1;
}

.site-main {
    position: relative;
    z-index: 10;
}

.brand-logos-section,
.features-section,
.content-section {
    position: relative;
    z-index: 10;
    background-color: #FFFFFF;
}

/* ==========================================================================
   Mobile Optimizations - Global
   ========================================================================== */

@media (max-width: 767px) {
    /* Prevent horizontal scroll on mobile */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Ensure all fixed width containers respect mobile width */
    .features-section > div > div > div[style*="532px"],
    .features-section > div > div > div[style*="width: 532px"],
    .founders-note-section > div > div > div[style*="360px"] {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Ensure all images respect container width */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Ensure SVGs respect container width */
    svg {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Features section fixed widths */
    .features-section div[style*="532px"],
    .features-section div[style*="width: 532px"] {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Founders section fixed widths */
    .founders-note-section div[style*="360px"],
    .founders-note-section img[style*="360px"] {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Increase container padding on mobile for better spacing */
    .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    
    /* Ensure all sections with px-4 get more padding on mobile */
    .px-4 {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    
    /* Typography - Responsive Font Sizes */
    h1 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    /* Hero Section Mobile */
    .hero-section h1 {
        font-size: 32px !important;
        margin-bottom: 12px !important;
    }
    
    .hero-section p {
        font-size: 16px !important;
    }
    
    /* Features Section Mobile */
    .features-section h2 {
        font-size: 24px !important;
        margin-bottom: 12px !important;
    }
    
    .features-section p {
        font-size: 16px !important;
    }
    
    /* Reduce large gaps on mobile */
    .features-section .flex.flex-col {
        gap: 0 !important;
        margin-bottom: 48px !important;
    }
    
    /* Override inline gap styles in features section on mobile */
    .features-section div[style*="gap: 32px"] {
        gap: 0 !important;
    }
    
    /* Make Data Layer section image and text closer on mobile */
    .features-section .flex.flex-col > div:last-child {
        margin-top: -16px !important;
    }
    
    /* Founders Section Mobile */
    .founders-note-section h2 {
        font-size: 24px !important;
    }
    
    /* FAQ Section Mobile */
    .faq-section h2 {
        font-size: 24px !important;
    }
    
    /* Test Types Section Mobile */
    .test-types-section h2,
    .test-types-section .test-types-accordion h3 {
        font-size: 16px !important;
    }
    
    /* Remove whitespace-nowrap on mobile for text */
    .whitespace-nowrap {
        white-space: normal !important;
    }
    
    /* Adjust padding for better mobile spacing */
    section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Reduce button padding on mobile */
    a[href="#beta"],
    button.beta-signup-next,
    button.beta-signup-back,
    button[type="submit"] {
        padding: 10px 16px !important;
        font-size: 14px !important;
    }
    
    /* Image containers mobile */
    .features-section img,
    .features-section svg {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Founders note image mobile */
    .founders-note-section img {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
}

/* Brand Logos Mobile Responsive */
@media (max-width: 767px) {
    .brand-logos-section .flex.items-center {
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 8px !important;
    }
    
    .brand-logos-section svg {
        height: 18px !important;
        max-width: 90px !important;
    }
    
    .brand-logos-section svg[width="57"] {
        max-width: 40px !important;
    }
    
    .brand-logos-section svg[width="184"] {
        max-width: 130px !important;
    }
    
    .brand-logos-section .flex.items-center > div {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}

@media (min-width: 768px) {
    .brand-logos-section svg {
        height: 24px !important;
        max-width: none !important;
    }
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
    position: relative;
    z-index: 10;
}

.faq-item {
    transition: all 0.3s ease;
}

.faq-question {
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    font-size: 1.125rem;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease, padding 0.3s ease, border 0.3s ease;
    color: #191919 !important;
    text-align: left;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 28px;
    padding-right: 28px;
}

.faq-question:not(.border-purple-600) {
    border-bottom: 1px solid #E6E6E6;
}

.faq-question:hover,
.faq-question:focus {
    color: #191919 !important;
    outline: none;
}

.faq-question.border-purple-600 {
    color: #191919 !important;
    background-color: transparent;
    border: none;
    padding-bottom: 16px;
}

.faq-question.border-purple-600::before {
    content: none;
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    color: #191919 !important;
}

.faq-icon svg {
    transition: transform 0.3s ease, stroke 0.3s ease;
    stroke: #191919 !important;
}

.faq-question:hover .faq-icon,
.faq-question.border-purple-600 .faq-icon {
    color: #191919 !important;
}

.faq-question:hover .faq-icon svg,
.faq-question.border-purple-600 .faq-icon svg {
    stroke: #191919 !important;
}

.faq-answer {
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.faq-answer:not(.hidden) {
    background-color: transparent;
    border-top: none;
    border-bottom: 1px solid #E6E6E6;
    padding-left: 28px;
    padding-right: 28px;
    padding-top: 16px;
    padding-bottom: 24px;
    animation: fadeInUp 0.3s ease;
}

.faq-answer.hidden {
    display: none;
}

/* ==========================================================================
   Test Types Section
   ========================================================================== */

.test-types-section {
    position: relative;
    z-index: 10;
}

.test-type-item {
    transition: all 0.3s ease;
}

.test-type-button {
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    font-size: 1rem;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease, padding 0.3s ease;
    color: #191919 !important;
}

.test-type-button:hover {
    color: #5B29FF !important;
}

.test-type-button:focus {
    outline: none;
}

.test-type-button.border-purple-600 {
    color: #5B29FF !important;
    background-color: #FFFFFF;
    padding-left: 28px;
    padding-right: 28px;
    padding-top: 24px;
}

.test-type-button.border-purple-600::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 2px;
    background-color: #5B29FF;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 50%;
        opacity: 1;
    }
}

.test-type-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    color: #191919 !important;
}

.test-type-icon svg {
    transition: transform 0.3s ease, stroke 0.3s ease;
    stroke: #191919 !important;
}

.test-type-button:hover .test-type-icon {
    color: #5B29FF !important;
}

.test-type-button:hover .test-type-icon svg {
    stroke: #5B29FF !important;
}

.test-type-button.border-purple-600 .test-type-icon {
    color: #5B29FF !important;
}

.test-type-button.border-purple-600 .test-type-icon svg {
    stroke: #5B29FF !important;
}

.test-type-content {
    transition: all 0.3s ease;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.test-type-content:not(.hidden) {
    background-color: #FFFFFF;
    padding-left: 28px;
    padding-right: 28px;
    padding-top: 16px;
    padding-bottom: 24px;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.test-type-content.hidden {
    display: none;
}

.test-type-image-container {
    position: relative;
    background-color: #f3f4f6;
}

#image-container {
    min-height: 100%;
}

#test-type-image {
    display: block;
    width: 90%;
    height: 100%;
    object-fit: contain;
    object-position: top;
}

@media (min-width: 1024px) {
    .test-type-image {
        width: 90%;
        height: 100%;
        object-fit: contain;
        object-position: top;
    }
    
    #image-container {
        height: 100%;
    }
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-button {
    display: inline-flex;
    background-color: #fff;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #667eea;
}

/* ==========================================================================
   Content
   ========================================================================== */

.content-section {
    padding: 3rem 0;
}

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    margin-bottom: 0.5rem;
}

.entry-title a {
    color: #333;
}

.entry-title a:hover {
    color: #0073aa;
}

.entry-meta {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.entry-meta span {
    margin-right: 1rem;
}

.post-thumbnail {
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    border-radius: 5px;
}

.entry-content {
    margin-bottom: 1.5rem;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-footer {
    margin-top: 1.5rem;
}

.read-more {
    display: inline-block;
    color: #0073aa;
    font-weight: 500;
}

.read-more:hover {
    color: #005177;
}

/* ==========================================================================
   Posts Navigation
   ========================================================================== */

.posts-navigation {
    margin: 3rem 0;
    display: flex;
    justify-content: space-between;
}

.nav-previous,
.nav-next {
    font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-widgets {
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-widgets .widget {
    margin-bottom: 1.5rem;
}

.footer-widgets .widget-title {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-widgets a {
    color: #ecf0f1;
}

.footer-widgets a:hover {
    color: #fff;
}

.site-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-info p {
    margin-bottom: 0.5rem;
}

.site-info a {
    color: #ecf0f1;
}

.footer-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-menu a {
    color: #ecf0f1;
}

.footer-menu a:hover {
    color: #fff;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
    margin-top: 2rem;
}

.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    z-index: 999999;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }

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

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

/* Tablets and small desktops (768px to 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-section {
        padding: 4rem 0;
    }

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

    .hero-description {
        font-size: 1.125rem;
    }

    .content-section {
        padding: 2.5rem 0;
    }

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

/* Tablets (768px and below) */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body.menu-open {
        overflow: hidden;
    }

    .container {
        padding: 0 20px;
    }

    .site-main {
        padding: 1.5rem 0;
    }

    /* Header */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 1rem;
        display: block;
    }

    .site-header .container {
        flex-wrap: wrap;
    }

    .main-navigation {
        width: 100%;
        margin-top: 1rem;
        position: relative;
    }

    .site-title {
        font-size: 1.25rem;
    }

    /* Hero Section */
    .hero-section {
        padding: 3.5rem 0;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-button {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }

    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.125rem; }
    h6 { font-size: 1rem; }

    /* Content */
    .content-section {
        padding: 2rem 0;
    }

    .entry-header {
        margin-bottom: 1.25rem;
    }

    .entry-meta {
        font-size: 0.8125rem;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .entry-meta span {
        margin-right: 0.75rem;
    }

    /* Posts Navigation */
    .posts-navigation {
        flex-direction: column;
        gap: 1rem;
        margin: 2rem 0;
    }

    .nav-previous,
    .nav-next {
        width: 100%;
    }

    /* Footer */
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .site-footer {
        padding: 2rem 0 1rem;
    }

    .footer-menu {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    /* Sidebar */
    .sidebar {
        margin-top: 1.5rem;
    }

    .widget {
        padding: 1.25rem;
    }
}

/* Mobile devices (480px and below) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .site-main {
        padding: 1rem 0;
    }

    /* Header */
    .site-header {
        padding: 0.75rem 0;
    }

    .site-title {
        font-size: 1.125rem;
    }

    .site-description {
        font-size: 0.75rem;
    }

    .menu-toggle {
        font-size: 1.25rem;
        padding: 0.375rem;
    }

    /* Hero Section */
    .hero-section {
        padding: 2.5rem 0;
    }

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

    .hero-description {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }

    .hero-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        width: 100%;
        max-width: 280px;
    }

    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9375rem; }

    /* Content */
    .content-section {
        padding: 1.5rem 0;
    }

    .entry-header {
        margin-bottom: 1rem;
    }

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

    .entry-meta {
        font-size: 0.75rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .entry-meta span {
        margin-right: 0;
    }

    .post-thumbnail {
        margin-bottom: 1rem;
    }

    .entry-content {
        font-size: 0.9375rem;
        line-height: 1.7;
    }

    .entry-content table {
        font-size: 0.875rem;
    }

    .entry-content table th,
    .entry-content table td {
        padding: 0.5rem;
    }

    .read-more {
        font-size: 0.875rem;
    }

    /* Posts Navigation */
    .posts-navigation {
        margin: 1.5rem 0;
    }

    /* Footer */
    .site-footer {
        padding: 1.5rem 0 1rem;
        margin-top: 2rem;
    }

    .footer-widgets {
        gap: 1.25rem;
    }

    .footer-widgets .widget {
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .site-info {
        padding-top: 1.5rem;
        font-size: 0.875rem;
    }

    .site-info p {
        margin-bottom: 0.75rem;
    }

    /* Sidebar */
    .widget {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .widget-title {
        font-size: 1.125rem;
    }
}

/* Very small devices (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

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

    .hero-description {
        font-size: 0.875rem;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.375rem; }
    h3 { font-size: 1.125rem; }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 2.5rem 0;
    }

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

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .menu-toggle,
    .nav-menu,
    .sidebar {
        display: none;
    }

    .site-main {
        padding: 0;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    a {
        text-decoration: underline;
    }

    .entry-content a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

/* ==========================================================================
   Utility Classes for Dawyn Design (Tailwind-like)
   ========================================================================== */

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-12 { padding-top: 3rem; }
.pb-20 { padding-bottom: 5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.justify-center { justify-content: center; }
.hidden { display: none; }
.min-w-0 { min-width: 0; }
.order-1 { order: 1; }
.order-2 { order: 2; }
.order-3 { order: 3; }
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:text-left { text-align: left; }
}
@media (min-width: 768px) { 
    .md\:flex { display: flex; } 
    .md\:flex-row { flex-direction: row; }
    .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } 
    .md\:text-base { font-size: 1rem; } 
    .md\:text-5xl { font-size: 3rem; } 
    .md\:pb-32 { padding-bottom: 8rem; } 
    .md\:pt-16 { padding-top: 4rem; } 
    .md\:mb-16 { margin-bottom: 4rem; } 
    .md\:text-xl { font-size: 1.25rem; }
    .md\:text-lg { font-size: 1.125rem; }
    .md\:order-1 { order: 1; }
    .md\:order-2 { order: 2; }
    .md\:order-3 { order: 3; }
    .md\:hidden { display: none; }
}
@media (min-width: 1024px) { 
    .lg\:block { display: block; } 
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; } 
    .lg\:text-6xl { font-size: 3.75rem; } 
    .lg\:right-\[-10\%\] { right: -10%; }
    .lg\:hidden { display: none; }
    .lg\:flex-row { flex-direction: row; }
    .lg\:flex-row-reverse { flex-direction: row-reverse; }
    .lg\:w-1\/2 { width: 50%; }
    .lg\:gap-12 { gap: 3rem; }
}

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-white { color: #fff; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-purple-600 { color: #9333ea; }
.text-green-600 { color: #16a34a; }

.bg-white { background-color: #fff; }
.bg-black { background-color: #000; }
.bg-purple-600 { background-color: #9333ea; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-white { --tw-gradient-from: #fff; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0)); }
.via-white { --tw-gradient-stops: var(--tw-gradient-from), #fff, var(--tw-gradient-to, rgba(255, 255, 255, 0)); }
.to-purple-50 { --tw-gradient-to: #faf5ff; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }

.relative { position: relative; }
.absolute { position: absolute; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }

.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-64 { width: 16rem; }
.w-full { width: 100%; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 1128px; }

.aspect-video { aspect-ratio: 16 / 9; }

.overflow-hidden { overflow: hidden; }

.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.rotate-3 { --tw-rotate: 3deg; transform: rotate(3deg); }
.-rotate-2 { --tw-rotate: -2deg; transform: rotate(-2deg); }
.rotate-\[-2deg\] { transform: rotate(-2deg); }
@media (min-width: 768px) { 
    .md\:rotate-\[-1\.5deg\] { transform: rotate(-1.5deg); }
}

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

.hover\:bg-purple-700:hover { background-color: #7e22ce; }
.hover\:text-purple-600:hover { color: #9333ea; }
.hover\:text-purple-700:hover { color: #7e22ce; }

.no-underline { text-decoration: none; }
.whitespace-nowrap { white-space: nowrap; }

.space-y-4 > * + * { margin-top: 1rem; }

/* Gradient background support */
.bg-gradient-to-br.from-white.via-white.to-purple-50 {
    background: linear-gradient(to bottom right, #fff, #fff, #faf5ff);
}

/* Additional utility classes for features section */
.space-y-24 > * + * { margin-top: 6rem; }
.space-y-32 > * + * { margin-top: 8rem; }
@media (min-width: 768px) {
    .md\:space-y-32 > * + * { margin-top: 8rem; }
}

.w-1\/2 { width: 50%; }

.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.bg-purple-50 { background-color: #faf5ff; }

@media (min-width: 1024px) {
    .lg\:flex-row-reverse { flex-direction: row-reverse; }
    .lg\:w-1\/2 { width: 50%; }
    .lg\:gap-12 { gap: 3rem; }
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-purple-500 {
    --tw-gradient-from: #a855f7;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(168, 85, 247, 0));
}

.from-purple-700 {
    --tw-gradient-from: #7e22ce;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(126, 34, 206, 0));
}

.to-purple-500 {
    --tw-gradient-to: #a855f7;
}

.to-purple-700 {
    --tw-gradient-to: #7e22ce;
}

.hover\:from-purple-600:hover {
    --tw-gradient-from: #9333ea;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(147, 51, 234, 0));
}

.hover\:from-purple-800:hover {
    --tw-gradient-from: #6b21a8;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(107, 33, 168, 0));
}

.hover\:to-purple-600:hover {
    --tw-gradient-to: #9333ea;
}

.hover\:to-purple-800:hover {
    --tw-gradient-to: #6b21a8;
}

.bg-teal-600 {
    background-color: #0d9488;
}

.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.-ml-4 {
    margin-left: -1rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
