:root {
    --white: #ffffff;
    --black: #1a1a1a;
    --purple-primary: #93278f;
    --purple-secondary: #662d91;
    --gray-light: #f8f8f8;
    --gray-medium: #e0e0e0;
    --gray-dark: #666666;
}

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo .symbol {
    display: inline-flex;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    color: white;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.logo .symboltransparent {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    color: white;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.cta-button) {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:not(.cta-button):hover {
    color: var(--purple-primary);
}

.cta-button {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    display: inline-block;
    /* Mobile touch improvements */
    min-height: 44px; /* Apple's recommended minimum touch target */
    min-width: 44px;
    -webkit-tap-highlight-color: rgba(147, 39, 143, 0.3);
    touch-action: manipulation; /* Prevents double-tap zoom on mobile */
    cursor: pointer;
    /* Ensure proper alignment with min-height */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Fix z-index to ensure button stays above visual elements */
    position: relative;
    z-index: 10;
    /* Ensure text stays white on hover */
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(147, 39, 143, 0.4);
    background: linear-gradient(135deg, #a73399, #7a3ba3);
    color: #ffffff;
}

.cta-button:visited {
    color: #ffffff;
}

/* Mobile-specific touch states */
.cta-button:active {
    transform: translateY(0px);
    box-shadow: 0 5px 15px rgba(147, 39, 143, 0.4);
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .cta-button {
        -webkit-appearance: none;
        -webkit-user-select: none;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0 2rem 0;
    background: linear-gradient(135deg, rgba(147, 39, 143, 0.05), rgba(102, 45, 145, 0.05));
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.hero-text h1 .gradient-text {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-dark);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1; /* Lower than CTA button */
}

.floating-symbol {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    font-weight: 900;
    box-shadow: 0 20px 60px rgba(147, 39, 143, 0.3);
    position: relative;
    z-index: 1; /* Lower than CTA button */
}

.orbit {
    position: absolute;
    border: 2px dashed rgba(147, 39, 143, 0.2);
    border-radius: 50%;
    z-index: 1; /* Lower than CTA button */
}

.orbit-1 {
    width: 400px;
    height: 400px;
}

.orbit-2 {
    width: 500px;
    height: 500px;
}

.orbit-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--purple-primary);
    border-radius: 50%;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Value Props */
.value-props {
    padding: 3rem 0 5rem 0;
    background: var(--gray-light);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.value-card p {
    color: var(--gray-dark);
    line-height: 1.8;
}

/* What is Copyright */
.what-is-copyright {
    padding: 5rem 0;
    background: white;
}

.copyright-content {
    max-width: 900px;
    margin: 0 auto;
}

.copyright-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.copyright-intro p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    line-height: 1.8;
}

.copyright-principles h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    margin-bottom: 3rem;
}

.principle-card {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--purple-primary);
}

.principle-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple-primary);
    margin-bottom: 1rem;
}

.principle-card p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.principle-card p:last-child {
    margin-bottom: 0;
}

.copyright-source {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-medium);
}

.copyright-source p {
    color: var(--gray-dark);
    font-size: 1rem;
}

.copyright-source a {
    color: var(--purple-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.copyright-source a:hover {
    color: var(--purple-secondary);
    text-decoration: underline;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background: var(--gray-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--black);
}

.section-header p {
    font-size: 1.3rem;
    color: var(--gray-dark);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    margin: 0 auto 2rem;
}

.step h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.step p {
    color: var(--gray-dark);
    line-height: 1.8;
}

/* The Symbol Section */
.symbol-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(147, 39, 143, 0.05), rgba(102, 45, 145, 0.05));
}

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

.symbol-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.traditional-symbol, .modern-symbol {
    text-align: center;
}

.symbol-display {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.traditional-symbol .symbol-display {
    background: var(--gray-light);
    color: var(--gray-dark);
}

.modern-symbol .symbol-display {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    color: white;
    box-shadow: 0 10px 30px rgba(147, 39, 143, 0.3);
}

.symbol-label {
    font-weight: 600;
    color: var(--gray-dark);
}

.symbol-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.symbol-text p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* UCE inline symbol styling */
.inline-symbol {
    vertical-align: middle;
    margin: 0;
    height: 1.5em;
    width: auto;
    display: inline-block;
}

/* Waitlist Section */
.waitlist {
    padding: 5rem 0;
    background: var(--black);
    color: white;
    text-align: center;
}

.waitlist h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.waitlist p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.waitlist-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.waitlist-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: 'Source Sans Pro', sans-serif;
}

.waitlist-form button {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    color: #ffffff;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    font-family: 'Source Sans Pro', sans-serif;
}

.waitlist-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(147, 39, 143, 0.4);
    background: linear-gradient(135deg, #a73399, #7a3ba3);
    color: #ffffff;
}

/* Turnstile Widget */
.cf-turnstile {
    margin: 1rem 0;
}

/* Form Messages */
.w-form-done {
    background: #4CAF50;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.w-form-fail {
    background: #f44336;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 3rem 0;
    background: var(--gray-light);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

.copyright {
    color: var(--gray-dark);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-medium);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 80px 0 1rem 0;
    }

    .value-props {
        padding: 2rem 0 4rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        position: relative;
        z-index: 10; /* Ensure hero-text stays above hero-visual */
    }

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

    .hero-visual {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        z-index: 1; /* Lower than hero-text */
    }

    .floating-symbol {
        width: 180px;
        height: 180px;
        font-size: 4rem;
        /* Preserve all original properties for smooth rendering */
        border-radius: 50%;
        background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 900;
        box-shadow: 0 15px 45px rgba(147, 39, 143, 0.3);
        position: relative;
        /* Ensure smooth rendering on mobile */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .orbit-1 {
        width: 280px;
        height: 280px;
        /* Preserve original border properties */
        border: 2px dashed rgba(147, 39, 143, 0.2);
        border-radius: 50%;
        position: absolute;
    }

    .orbit-2 {
        width: 360px;
        height: 360px;
        /* Preserve original border properties */
        border: 2px dashed rgba(147, 39, 143, 0.2);
        border-radius: 50%;
        position: absolute;
    }

    .orbit-dot {
        width: 14px;
        height: 14px;
        top: -7px;
        /* Preserve all original properties */
        background: var(--purple-primary);
        border-radius: 50%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

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

    .copyright-content {
        padding: 0 1rem;
        max-width: 100%;
    }

    .copyright-intro {
        margin-bottom: 2rem;
    }

    .copyright-intro p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .copyright-principles h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .principle-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
        /* Improve mobile touch and visual feedback */
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        border-left: 3px solid var(--purple-primary);
    }

    .principle-card:active {
        transform: translateY(1px);
    }

    .principle-card h4 {
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .principle-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .copyright-source {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .copyright-source p {
        font-size: 0.9rem;
    }

    .symbol-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .waitlist-form {
        flex-direction: column;
        gap: 1.5rem;
    }

    .waitlist-form input {
        width: 100%;
        box-sizing: border-box;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    /* Mobile-specific CTA button improvements */
    .cta-button {
        padding: 1rem 2.5rem; /* Larger padding for easier tapping */
        font-size: 1.1rem; /* Slightly larger text */
        margin: 1rem 0; /* Add some margin for spacing */
    }

    /* Ensure all interactive elements have proper touch targets */
    .nav-links a,
    .footer-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(147, 39, 143, 0.2);
        touch-action: manipulation;
    }
}

/* Additional mobile optimization for very small screens */
@media (max-width: 480px) {
    .hero-visual {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .floating-symbol {
        width: 140px;
        height: 140px;
        font-size: 3rem;
        /* Maintain all quality properties */
        border-radius: 50%;
        background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 900;
        box-shadow: 0 12px 35px rgba(147, 39, 143, 0.25);
        position: relative;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .orbit-1 {
        width: 220px;
        height: 220px;
        border: 2px dashed rgba(147, 39, 143, 0.2);
        border-radius: 50%;
        position: absolute;
    }

    .orbit-2 {
        width: 280px;
        height: 280px;
        border: 2px dashed rgba(147, 39, 143, 0.2);
        border-radius: 50%;
        position: absolute;
    }

    .orbit-dot {
        width: 12px;
        height: 12px;
        top: -6px;
        background: var(--purple-primary);
        border-radius: 50%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Copyright section optimizations for small screens */
    .copyright-intro h2 {
        font-size: 2rem;
    }

    .copyright-intro h3 {
        font-size: 1.1rem;
    }

    .copyright-principles h3 {
        font-size: 1.6rem;
    }

    .principle-card {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
        border-radius: 10px;
    }

    .principle-card h4 {
        font-size: 1.2rem;
    }

    .principle-card p {
        font-size: 0.9rem;
    }
}

/* Tablet optimization */
@media (min-width: 481px) and (max-width: 768px) {
    .floating-symbol {
        width: 200px;
        height: 200px;
        font-size: 5rem;
        /* Ensure all quality properties are maintained */
        border-radius: 50%;
        background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 900;
        box-shadow: 0 18px 50px rgba(147, 39, 143, 0.3);
        position: relative;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .orbit-1 {
        width: 320px;
        height: 320px;
        border: 2px dashed rgba(147, 39, 143, 0.2);
        border-radius: 50%;
        position: absolute;
    }

    .orbit-2 {
        width: 400px;
        height: 400px;
        border: 2px dashed rgba(147, 39, 143, 0.2);
        border-radius: 50%;
        position: absolute;
    }

    .orbit-dot {
        width: 16px;
        height: 16px;
        top: -8px;
        background: var(--purple-primary);
        border-radius: 50%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-symbol {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: 900;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}