/* CSS Custom Properties for better maintainability - Updated with mobile/desktop optimizations */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-hover-bg: rgba(255, 255, 255, 0.06);
    --glass-hover-border: rgba(255, 255, 255, 0.2);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.4);
    --shadow-primary: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.4);
    --border-radius-lg: 1.5rem;
    --border-radius-md: 1rem;
    --transition-smooth: all 0.3s ease;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #171D37;
    background-image: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1;
}

/* Layout Components */
.content-wrapper {
    z-index: 1;
    min-height: 100vh;
}

.hero-section {
    height: 100vh;
    box-sizing: border-box;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-logo {
    margin: 0 0 2rem 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.logo-image {
    height: 4rem;
    width: auto;
    filter: drop-shadow(0 0.5rem 1.5rem rgba(0, 0, 0, 0.3)) brightness(0) invert(1);
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: translateY(-0.125rem);
    filter: drop-shadow(0 0.75rem 2rem rgba(0, 0, 0, 0.4)) brightness(0) invert(1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 100%;
    margin: 1rem 0 0 0;
    padding: 0;
    width: 100%;
}

.hero-subtitle .desktop-break {
    display: inline;
}

.section-spacing {
    margin: 0;
}

.section-container {
    max-width: 60rem;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.cta-section {
    padding: 1.75rem 0 4.5rem 0;
    background: linear-gradient(to bottom, transparent, rgba(15, 15, 35, 0.3));
}

/* Typography */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

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

.section-header {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-primary);
}

.subsection-header {
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #FFFFFF;
}

.subsection-header-center {
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: #FFFFFF;
    text-align: center;
}

.body-text {
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
}

.body-text-lg {
    font-size: 1.125rem;
}

.body-text-xl {
    font-size: 1.25rem;
}

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

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

/* Spacing */
.mb-4 {
    margin-bottom: 0.75rem;
}

.mb-6 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 1.5rem;
}

.mb-12 {
    margin-bottom: 2rem;
}

.mb-16 {
    margin-bottom: 1rem;
}

/* New semantic spacing classes */
.medium-bottom-spacing {
    margin-bottom: 1.25rem;
}

.large-bottom-spacing {
    margin-bottom: 2rem;
}

.bottom-spacing {
    margin-bottom: 1.5rem;
}

.text-spacing>*+* {
    margin-top: 1rem;
}

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

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

.gap-4 {
    gap: 0.75rem;
}

.gap-8 {
    gap: 1.5rem;
}

/* Layout Utilities */
.max-w-2xl {
    max-width: 42rem;
    margin: 0 auto;
}

.max-w-3xl {
    max-width: 48rem;
    margin: 0 auto;
}

.max-w-4xl {
    max-width: 56rem;
    margin: 0 auto;
}

/* Content width utilities */
.content-max-width {
    max-width: 48rem;
    margin: 0 auto;
}

.content-medium-width {
    max-width: 42rem;
    margin: 0 auto;
}

.content-small-width {
    max-width: 32rem;
    margin: 0 auto;
}

.hero-waitlist-spacing {
    margin-top: 1rem;
}

.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-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.p-8 {
    padding: 1.5rem;
}

/* Grid System */
.grid {
    display: grid;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.125rem;
    margin-bottom: 1.375rem;
}

/* Cards and Sections */
.tech-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    padding: 1.375rem;
    border-radius: var(--border-radius-md);
}

.tech-card:hover {
    background: var(--glass-hover-bg);
    border-color: var(--glass-hover-border);
    transform: translateY(-2px);
}

.tech-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    margin-bottom: 0.625rem;
}

.problem-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.375rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.375rem;
    backdrop-filter: blur(5px);
}

.solution-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.375rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.375rem;
    backdrop-filter: blur(5px);
}

.waitlist-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 0 2rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.waitlist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.waitlist-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(102, 126, 234, 0.3);
}

.waitlist-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* Form Elements */
.input-field {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    transition: var(--transition-smooth);
    font-weight: 400;
    width: 100%;
    min-width: 280px;
    padding: 1.125rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.input-field:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), inset 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.input-field::placeholder {
    color: var(--text-muted);
}

.cta-button {
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: none;
    padding: 1.125rem 2rem;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    letter-spacing: 0.02em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #7c8ef0 0%, #8a5ab8 100%);
}

/* Form Layout */
.form-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

/* Pageclip Integration Styles */
.pageclip-form.form-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.pageclip-form__submit.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    padding: 1.125rem 2rem;
    border-radius: 1rem;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    letter-spacing: 0.02em;
}

.pageclip-form__submit.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #7c8ef0 0%, #8a5ab8 100%);
}

/* Thank you message styles - Enhanced design */
.thank-you-message {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.25) 0%,
            rgba(118, 75, 162, 0.20) 50%,
            rgba(102, 126, 234, 0.15) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    backdrop-filter: blur(40px) saturate(180%);
    padding: 4rem 3rem;
    border-radius: 2.5rem;
    text-align: center;
    color: #FFFFFF;
    box-shadow:
        0 32px 80px rgba(102, 126, 234, 0.4),
        0 16px 48px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(102, 126, 234, 0.2);
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.thank-you-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(102, 126, 234, 0.9) 20%,
            rgba(118, 75, 162, 0.9) 50%,
            rgba(102, 126, 234, 0.9) 80%,
            transparent 100%);
    border-radius: 2.5rem 2.5rem 0 0;
}

.thank-you-message::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: conic-gradient(from 0deg at 50% 50%,
            transparent 0deg,
            rgba(102, 126, 234, 0.08) 60deg,
            rgba(118, 75, 162, 0.08) 120deg,
            transparent 180deg,
            rgba(102, 126, 234, 0.08) 240deg,
            rgba(118, 75, 162, 0.08) 300deg,
            transparent 360deg);
    animation: rotate 8s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.thank-you-message.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.thank-you-message .success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    box-shadow:
        0 8px 32px rgba(102, 126, 234, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    animation: successPulse 3s ease-in-out infinite;
}

.thank-you-message .success-icon::before {
    content: '✓';
    color: white;
    font-size: 2.5rem;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.thank-you-message .success-icon::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.3);
    animation: ripple 2s ease-out infinite;
}

@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 8px 32px rgba(102, 126, 234, 0.4),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow:
            0 12px 40px rgba(102, 126, 234, 0.6),
            inset 0 2px 0 rgba(255, 255, 255, 0.4);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.thank-you-message .title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.thank-you-message .subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
    max-width: 400px;
    position: relative;
    z-index: 1;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.thank-you-message .accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    margin: 1.5rem auto 0;
    position: relative;
    z-index: 1;
}

/* Responsive Design */

/* Very Small Screens - 320px and below */
@media (max-width: 320px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-title .gradient-text {
        font-size: 0.75em;
    }

    .logo-image {
        height: 4rem;
    }

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

    .section-header {
        font-size: 2.25rem;
    }

    .section-container {
        padding: 0 0.75rem;
    }

    .waitlist-card {
        padding: 0 1rem 1.5rem;
        margin: 0 0.5rem;
    }

    .input-field {
        min-width: 180px;
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Mobile First - Base styles for mobile devices */
@media (max-width: 479px) {
    .hero-section {
        padding: 2rem 0;
        min-height: 100vh;
        height: auto;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero-title .gradient-text {
        font-size: 0.8em;
    }

    .logo-image {
        height: 4.5rem;
    }

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

    .section-header {
        font-size: 2.75rem;
        line-height: 1.2;
    }

    .subsection-header {
        font-size: 1.75rem;
    }

    .subsection-header-center {
        font-size: 1.5rem;
    }

    .waitlist-card {
        padding: 0 1.25rem 1.75rem;
        margin: 0 0.75rem;
    }

    .input-field {
        min-width: 200px;
        font-size: 1.125rem;
        padding: 1.25rem 1.5rem;
    }

    .cta-button {
        padding: 1.25rem 1.75rem;
        font-size: 1.125rem;
    }

    .tech-card {
        padding: 1.5rem;
        margin: 0 0.75rem 1rem;
    }

    .problem-section,
    .solution-section {
        padding: 1.5rem;
        margin: 0 0.75rem 1.25rem;
    }


    /* Body text sizes for mobile */
    .body-text {
        font-size: 1.125rem;
    }

    .body-text-lg {
        font-size: 1.25rem;
    }

    .body-text-xl {
        font-size: 1.375rem;
    }

    .waitlist-card h3 {
        font-size: 1.75rem;
    }

    /* Thank you message mobile styles */
    .thank-you-message {
        padding: 3rem 2rem;
        min-height: 180px;
        margin: 0 0.75rem;
        border-radius: 2rem;
    }

    .thank-you-message .success-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .thank-you-message .success-icon::before {
        font-size: 2.25rem;
    }

    .thank-you-message .title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .thank-you-message .subtitle {
        font-size: 1.125rem;
        max-width: 280px;
    }
}

/* Small Mobile - 480px and up */
@media (min-width: 480px) and (max-width: 639px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-title .gradient-text {
        font-size: 0.9em;
    }

    .logo-image {
        height: 5rem;
    }

    .section-header {
        font-size: 3rem;
    }

    .subsection-header {
        font-size: 1.875rem;
    }

    .subsection-header-center {
        font-size: 1.625rem;
    }

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

    .waitlist-card {
        padding: 0 1.5rem 2rem;
        margin: 0 0.5rem;
    }

    .input-field {
        min-width: 240px;
        font-size: 1.25rem;
        padding: 1.375rem 1.625rem;
    }

    .cta-button {
        padding: 1.375rem 2rem;
        font-size: 1.25rem;
    }

    .body-text {
        font-size: 1.25rem;
    }

    .body-text-lg {
        font-size: 1.375rem;
    }

    .body-text-xl {
        font-size: 1.5rem;
    }

    .waitlist-card h3 {
        font-size: 1.875rem;
    }

    /* Thank you message small mobile styles */
    .thank-you-message {
        padding: 3.5rem 2.5rem;
        min-height: 190px;
        margin: 0 0.5rem;
        border-radius: 2.25rem;
    }

    .thank-you-message .success-icon {
        width: 75px;
        height: 75px;
    }

    .thank-you-message .success-icon::before {
        font-size: 2.5rem;
    }

    .thank-you-message .title {
        font-size: 2.25rem;
    }

    .thank-you-message .subtitle {
        font-size: 1.25rem;
        max-width: 320px;
    }
}

/* Small Tablet/Large Mobile - 640px and up */
@media (min-width: 640px) and (max-width: 767px) {
    .form-container {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .input-field {
        flex: 1;
        min-width: 260px;
        font-size: 1.125rem;
        padding: 1.25rem 1.5rem;
    }

    .cta-button {
        width: auto;
        flex-shrink: 0;
        font-size: 1.125rem;
        padding: 1.25rem 1.75rem;
    }

    .pageclip-form.form-container {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .pageclip-form .input-field {
        flex: 1;
    }

    .pageclip-form__submit.cta-button {
        width: auto;
        flex-shrink: 0;
    }

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

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

    .section-header {
        font-size: 3.25rem;
    }

    .subsection-header {
        font-size: 1.75rem;
    }

    .subsection-header-center {
        font-size: 1.5rem;
    }

    .waitlist-card h3 {
        font-size: 1.75rem;
    }

    .body-text {
        font-size: 1.125rem;
    }

    .body-text-lg {
        font-size: 1.25rem;
    }

    .body-text-xl {
        font-size: 1.375rem;
    }
}

/* Tablet - 768px and up */
@media (min-width: 768px) and (max-width: 1023px) {
    .form-container {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .input-field {
        flex: 1;
        font-size: 1rem;
        padding: 1.125rem 1.5rem;
    }

    .cta-button {
        width: auto;
        flex-shrink: 0;
        font-size: 1rem;
        padding: 1.125rem 2rem;
    }

    .pageclip-form.form-container {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .pageclip-form .input-field {
        flex: 1;
    }

    .pageclip-form__submit.cta-button {
        width: auto;
        flex-shrink: 0;
    }

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

    .logo-image {
        height: 5rem;
    }

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

    .section-header {
        font-size: 3.5rem;
    }

    .subsection-header {
        font-size: 1.75rem;
    }

    .subsection-header-center {
        font-size: 1.375rem;
    }

    .waitlist-card h3 {
        font-size: 1.625rem;
    }

    .body-text {
        font-size: 1.0625rem;
    }

    .body-text-lg {
        font-size: 1.1875rem;
    }

    .body-text-xl {
        font-size: 1.3125rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.125rem;
    }
}

/* Desktop - 1024px and up */
@media (min-width: 1024px) {
    .form-container {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .input-field {
        flex: 1;
    }

    .cta-button {
        width: auto;
        flex-shrink: 0;
    }

    .pageclip-form.form-container {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .pageclip-form .input-field {
        flex: 1;
    }

    .pageclip-form__submit.cta-button {
        width: auto;
        flex-shrink: 0;
    }

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

    .logo-image {
        height: 6rem;
    }

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

    /* Break "Stop explaining. Start creating." to new line on desktop */
    .hero-subtitle .desktop-break {
        display: block;
    }

    /* Increase paragraph text size for desktop */
    .body-text {
        font-size: 1.25rem;
    }

    .body-text-lg {
        font-size: 1.375rem;
    }

    .body-text-xl {
        font-size: 1.5rem;
    }

    .section-header {
        font-size: 3.75rem;
    }

    .subsection-header {
        font-size: 1.875rem;
    }

    .subsection-header-center {
        font-size: 1.5rem;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {
    .grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .hero-section {
        padding: 1.5rem 0;
        min-height: 100vh;
    }

    /* Ensure "Be Understood" stays on one line on mobile */
    .hero-title .gradient-text {
        white-space: nowrap;
        font-size: 0.85em;
    }

    .section-spacing {
        padding: 1.5rem 0;
    }

    .cta-section {
        padding: 1.5rem 0 2.5rem 0;
    }

    /* Reduce margins between sections for smoother flow */
    .mb-4 {
        margin-bottom: 0.625rem;
    }

    .mb-6 {
        margin-bottom: 0.875rem;
    }

    .mb-8 {
        margin-bottom: 1.25rem;
    }

    .mb-12 {
        margin-bottom: 1.5rem;
    }

    .mb-16 {
        margin-bottom: 0.875rem;
    }

    .medium-bottom-spacing {
        margin-bottom: 1rem;
    }

    .large-bottom-spacing {
        margin-bottom: 1.5rem;
    }

    .bottom-spacing {
        margin-bottom: 1.25rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    .cta-button,
    .pageclip-form__submit.cta-button {
        min-height: 48px;
        /* Minimum touch target size */
        touch-action: manipulation;
        /* Disable double-tap zoom */
    }

    .input-field {
        min-height: 48px;
        touch-action: manipulation;
    }

    .tech-card,
    .problem-section,
    .solution-section,
    .waitlist-card {
        touch-action: manipulation;
    }

    /* Remove hover effects on touch devices */
    .tech-card:hover,
    .waitlist-card:hover,
    .cta-button:hover,
    .pageclip-form__submit.cta-button:hover,
    .input-field:hover {
        transform: none;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 767px) and (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 1rem 0;
    }

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

    .logo-image {
        height: 2.5rem;
    }

    .hero-logo {
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        margin: 0.5rem 0 0 0;
        font-size: 1.125rem;
    }

    .hero-waitlist-spacing {
        margin-top: 0.5rem;
    }
}

/* Print styles */
@media print {
    .particle-canvas {
        display: none;
    }

    .cta-button,
    .pageclip-form__submit {
        display: none;
    }

    .waitlist-card {
        border: 1px solid #000;
        background: white;
        color: black;
    }

    body {
        background: white;
        color: black;
    }
}