/* ================================
   ATTUNE - Main Stylesheet
   Colors: #313c54 (navy) / #FFFFFF (white)
   ================================ */

/* Reset and base */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #313c54;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ================================
   ANIMATED BACKGROUND
   ================================ */

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #313c54 0%, #1a2233 100%);
}

/* ================================
   NAVIGATION
   ================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    background-color: transparent;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state: Dynamic Island / floating pill */
header.scrolled {
    top: 16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

/* Expanded state: pill grows to show links */
header.scrolled.expanded {
    border-radius: 24px;
    padding: 16px 24px;
    background-color: rgba(255, 255, 255, 0.12);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 32px;
}

header.scrolled nav {
    flex-direction: column;
    gap: 0;
}

header.scrolled.expanded nav {
    gap: 16px;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.logo .wave {
    filter: grayscale(1) brightness(100);
}

header.scrolled .logo {
    font-size: 16px;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 32px;
    transition: all 0.3s ease;
}

header.scrolled .nav-links {
    display: none;
}

header.scrolled.expanded .nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

header.scrolled.expanded .nav-links a {
    font-size: 14px;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Hamburger button */
.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 12px;
}

.hamburger span {
    display: block;
    width: 16px;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

header.scrolled .hamburger {
    display: flex;
    flex-direction: column;
}

/* Mobile: Show hamburger and hide nav links by default */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
    }
    
    /* When header is expanded on mobile (menu open) */
    header.expanded .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(26, 34, 51, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    header.expanded .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    header.expanded .nav-links a:last-child {
        border-bottom: none;
    }
    
    /* Hamburger X transform when expanded */
    header.expanded .hamburger span:first-child {
        transform: rotate(45deg) translate(2px, 2px);
    }
    
    header.expanded .hamburger span:last-child {
        transform: rotate(-45deg) translate(2px, -2px);
    }
}

/* Hamburger transforms to X when expanded */
header.scrolled.expanded .hamburger span:first-child {
    transform: rotate(45deg) translate(2px, 2px);
}

header.scrolled.expanded .hamburger span:last-child {
    transform: rotate(-45deg) translate(2px, -2px);
}

/* Logo + hamburger row in pill */
header.scrolled nav {
    flex-direction: row;
    justify-content: center;
}

header.scrolled.expanded nav {
    flex-direction: column;
}

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

.hero {
    text-align: center;
    padding: 120px 40px;
    padding-top: 180px; /* Account for fixed header */
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 72px;
    font-weight: 700;
    margin: 0 0 24px 0;
    letter-spacing: -2px;
}

.tagline {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 24px 0;
    color: #FFFFFF;
}

.description {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 48px 0;
}

/* ================================
   BUTTONS
   ================================ */

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.button.primary {
    background-color: #FFFFFF;
    color: #313c54;
}

.button.primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.button.secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
}

/* ================================
   LATEST LETTERS SECTION
   ================================ */

.latest-letters {
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.latest-letters h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 48px;
    color: #FFFFFF;
}

.letters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.letter-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.letter-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.letter-image {
    margin: -28px -28px 20px -28px;
    overflow: hidden;
}

.letter-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.letter-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.letter-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.letter-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
    flex-grow: 1;
}

/* Responsive: stack on smaller screens */
@media (max-width: 900px) {
    .letters-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ================================
   FOUNDER SECTION
   ================================ */

.founder {
    padding: 80px 40px;
    text-align: center;
}

.founder-card {
    display: inline-block;
}

.founder-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.founder-image:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 8px 0;
}

.founder-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

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

footer {
    position: relative;
    text-align: center;
    padding: 40px 40px 32px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    background: transparent;
    margin-top: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.social-links a {
    color: #FFFFFF;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

/* Built By Credit */
.built-by {
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.3s ease;
}

.built-by a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.built-by a:hover {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ================================
   EMERGING AFFORDANCES
   Words that fade in over time
   ================================ */

.emerging-affordances {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through to content below */
    z-index: 50; /* Above page content so words are clickable */
}

.emerging-word {
    position: absolute;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: lowercase;
    color: rgba(255, 255, 255, 0);
    text-decoration: none;
    pointer-events: none; /* Starts non-clickable */
    transition: color 0.4s ease, text-shadow 0.4s ease, transform 0.3s ease;
    cursor: default;
    white-space: nowrap;
}

/* When word has emerged */
.emerging-word.visible {
    color: rgba(255, 255, 255, 0.4);
    pointer-events: auto; /* Now clickable */
    cursor: pointer;
}

/* Hover state - word solidifies */
.emerging-word.visible:hover {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* Subtle floating animation */
@keyframes drift {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(5px, -8px);
    }
    50% {
        transform: translate(-3px, 5px);
    }
    75% {
        transform: translate(8px, 3px);
    }
}

.emerging-word {
    animation: drift 20s ease-in-out infinite;
}

/* Stagger the drift animations so they don't move in sync */
.emerging-word:nth-child(1) {
    animation-delay: 0s;
}

.emerging-word:nth-child(2) {
    animation-delay: -7s;
}

.emerging-word:nth-child(3) {
    animation-delay: -13s;
}

.emerging-word:nth-child(4) {
    animation-delay: -19s;
}

.emerging-word:nth-child(5) {
    animation-delay: -3s;
}

/* Letter-by-letter fade in animation */
@keyframes letterFade {
    0% {
        opacity: 0;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

.emerging-word span {
    display: inline-block;
    opacity: 0;
}

.emerging-word.emerging span {
    animation: letterFade 0.6s ease forwards;
}

/* Position each word in different areas of the screen */
/* These use viewport units so they work on all screen sizes */

.emerging-word--signal {
    top: 35%;
    left: 8%;
}

.emerging-word--field {
    top: 55%;
    right: 10%;
    left: auto;
}

.emerging-word--build {
    top: 70%;
    left: 15%;
}

.emerging-word--resources {
    top: 45%;
    right: 6%;
    left: auto;
}

.emerging-word--attractor {
    top: 75%;
    right: 12%;
    left: auto;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .emerging-word {
        font-size: 12px;
    }
    
    .emerging-word--signal {
        top: 30%;
        left: 5%;
    }
    
    .emerging-word--field {
        top: 50%;
        right: 5%;
    }
    
    .emerging-word--build {
        top: 65%;
        left: 8%;
    }
    
    .emerging-word--resources {
        top: 40%;
        right: 4%;
    }
    
    .emerging-word--attractor {
        top: 72%;
        right: 8%;
    }
}

/* ================================
   BUILD PAGE STYLES
   ================================ */

.build-hero {
    text-align: center;
    padding: 140px 40px 60px;
    max-width: 700px;
    margin: 0 auto;
}

.build-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.build-tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.build-tagline em {
    color: #FFFFFF;
    font-style: italic;
}

/* Form Section */
.build-form-section {
    padding: 0 40px 80px;
    max-width: 700px;
    margin: 0 auto;
}

.build-form {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Form Sections */
.form-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
}

.form-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #FFFFFF;
}

.section-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 28px 0;
}

/* Form Groups */
.form-group {
    margin-bottom: 24px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Labels */
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

/* Inputs */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: inherit;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: #313c54;
    color: #FFFFFF;
}

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

/* File Input */
.form-group input[type="file"] {
    width: 100%;
    padding: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-group input[type="file"]:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.form-group input[type="file"]::file-selector-button {
    padding: 8px 16px;
    margin-right: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #313c54;
    background: #FFFFFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-group input[type="file"]::file-selector-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Input Hints */
.input-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 8px 0 12px 0;
}

.input-hint.small {
    margin: 8px 0 0 0;
    font-size: 12px;
}

/* Color Input */
.color-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.color-input-wrapper input[type="color"] {
    width: 50px;
    height: 44px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.color-input-wrapper input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 2px;
}

.color-input-wrapper input[type="color"]::-webkit-color-swatch {
    border-radius: 4px;
    border: none;
}

.color-input-wrapper input[type="text"] {
    flex: 1;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #FFFFFF;
}

.checkbox-label input[type="checkbox"]:checked + span {
    color: #FFFFFF;
}

/* Consent Checkbox */
.consent-checkbox {
    background: transparent;
    border: none;
    padding: 0;
}

.consent-checkbox:hover {
    background: transparent;
}

/* Maintenance Notice */
.maintenance-notice {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    margin-bottom: 20px;
}

.notice-icon {
    font-size: 24px;
    line-height: 1;
}

.notice-content strong {
    display: block;
    font-size: 15px;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.notice-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

/* Form Submit */
.form-submit {
    text-align: center;
    padding-top: 20px;
}

.button.large {
    padding: 18px 48px;
    font-size: 18px;
}

.submit-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
    line-height: 1.6;
}

.submit-note a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.submit-note a:hover {
    opacity: 0.7;
}

/* Build Page Footer */
.build-footer {
    position: relative;
    background: transparent;
    padding: 40px;
}

/* ================================
   THANK YOU MODAL
   ================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #313c54;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 48px;
    max-width: 500px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-content h2 {
    font-size: 28px;
    margin: 0 0 16px 0;
    color: #FFFFFF;
}

.modal-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.modal-content .button {
    display: block;
    margin: 12px 0;
}

.modal-content .button.secondary {
    background: transparent;
    border: none;
    padding: 12px;
    font-size: 14px;
    opacity: 0.7;
}

.modal-content .button.secondary:hover {
    opacity: 1;
}

/* ================================
   BUILD PAGE RESPONSIVE
   ================================ */

@media (max-width: 768px) {
    .build-hero {
        padding: 120px 24px 40px;
    }
    
    .build-hero h1 {
        font-size: 36px;
    }
    
    .build-tagline {
        font-size: 18px;
    }
    
    .build-form-section {
        padding: 0 24px 60px;
    }
    
    .form-section {
        padding: 24px;
    }
    
    .form-section h2 {
        font-size: 20px;
    }
    
    .checkbox-group {
        flex-direction: column;
    }
    
    .checkbox-label {
        width: 100%;
    }
    
    .maintenance-notice {
        flex-direction: column;
        gap: 12px;
    }
    
    .modal-content {
        margin: 20px;
        padding: 32px 24px;
    }
}

/* ================================
   NEWSLETTER SIGNUP SECTION
   ================================ */

.newsletter-section {
    padding: 80px 40px;
    margin: 40px 0;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #FFFFFF;
}

.newsletter-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 32px 0;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-input-group {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 440px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    font-family: inherit;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-button {
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: #313c54;
    background: #FFFFFF;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.newsletter-button:active {
    transform: translateY(0);
}

.newsletter-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 16px 0 0 0;
}

/* Newsletter Responsive */
@media (max-width: 600px) {
    .newsletter-section {
        padding: 60px 24px;
    }
    
    .newsletter-container {
        padding: 32px 24px;
    }
    
    .newsletter-content h2 {
        font-size: 26px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-button {
        width: 100%;
    }
}

/* ================================
   SCROLL-TRIGGERED ANIMATIONS
   ================================ */

/* Base state - hidden */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Revealed state */
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Individual items within a container (for staggered reveals) */
.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Special animation for the hero - fade in from slight scale */
.hero.reveal {
    transform: translateY(0) scale(0.98);
}

.hero.reveal.revealed {
    transform: translateY(0) scale(1);
}

/* Founder section - subtle rise */
.founder.reveal {
    transform: translateY(40px);
}

/* Newsletter section - fade up */
.newsletter-section.reveal {
    transform: translateY(40px);
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ================================
   FOCUS MODE - Coherence Breathwork
   ================================ */

/* Toggle Button */
.focus-mode-toggle {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInButton 1s ease 2s forwards;
}

@keyframes fadeInButton {
    to { opacity: 1; }
}

.focus-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.focus-mode-toggle svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.focus-mode-toggle:hover svg {
    color: rgba(255, 255, 255, 0.9);
}

.focus-icon-exit {
    display: none;
}

body.focus-mode .focus-mode-toggle {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    z-index: 1003;
}

body.focus-mode .focus-icon-enter {
    display: none;
}

body.focus-mode .focus-icon-exit {
    display: block;
    color: rgba(255, 255, 255, 0.9);
}

/* Hint text */
.focus-hint {
    position: fixed;
    bottom: 160px;
    right: 24px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0);
    text-align: right;
    pointer-events: none;
    transition: color 0.3s ease;
    max-width: 80px;
    line-height: 1.4;
    z-index: 1001;
}

.focus-mode-toggle:hover + .focus-hint {
    color: rgba(255, 255, 255, 0.4);
}

/* Focus Overlay */
.focus-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, #1a2233 0%, #0d1117 100%);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

body.focus-mode .focus-overlay {
    opacity: 1;
    visibility: visible;
}

/* Pattern Selector */
.focus-pattern-selector {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.5s ease 0.3s;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
    max-width: 100%;
}

body.focus-mode .focus-pattern-selector {
    opacity: 1;
}

.pattern-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 100px;
}

.pattern-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.pattern-btn.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.pattern-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.pattern-desc {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

/* Breathing Container */
.focus-breathing-container {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Breathing Rings */
.focus-breathing-ring {
    position: absolute;
    border-radius: 50%;
    transition: transform 0.1s linear, opacity 0.3s ease, box-shadow 0.3s ease;
}

.focus-breathing-ring.outer {
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.focus-breathing-ring.middle {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 0 40px rgba(255, 255, 255, 0.05),
        inset 0 0 40px rgba(255, 255, 255, 0.02);
}

.focus-breathing-ring.inner {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.02);
}

.focus-center-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Breathing States */
body.focus-mode .focus-breathing-ring.outer,
body.focus-mode .focus-breathing-ring.middle,
body.focus-mode .focus-breathing-ring.inner {
    opacity: 1;
}

/* Inhale - Expand */
body.focus-mode.breathing-inhale .focus-breathing-ring.outer {
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.08);
}

body.focus-mode.breathing-inhale .focus-breathing-ring.middle {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 0 80px rgba(255, 255, 255, 0.1),
        inset 0 0 60px rgba(255, 255, 255, 0.05);
}

body.focus-mode.breathing-inhale .focus-breathing-ring.inner {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

body.focus-mode.breathing-inhale .focus-center-dot {
    transform: scale(1.5);
    background: rgba(255, 255, 255, 0.9);
}

/* Hold - Still, Bright */
body.focus-mode.breathing-hold .focus-breathing-ring.middle {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 0 100px rgba(255, 255, 255, 0.12),
        inset 0 0 80px rgba(255, 255, 255, 0.06);
}

body.focus-mode.breathing-hold .focus-breathing-ring.inner {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

body.focus-mode.breathing-hold .focus-center-dot {
    transform: scale(1.8);
    background: rgba(255, 255, 255, 1);
}

/* Exhale - Contract */
body.focus-mode.breathing-exhale .focus-breathing-ring.middle {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.03),
        inset 0 0 20px rgba(255, 255, 255, 0.01);
}

body.focus-mode.breathing-exhale .focus-breathing-ring.inner {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.01);
}

body.focus-mode.breathing-exhale .focus-center-dot {
    transform: scale(0.8);
    background: rgba(255, 255, 255, 0.4);
}

/* Focus Content */
.focus-content {
    position: absolute;
    text-align: center;
    pointer-events: none;
}

.focus-prompt {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: lowercase;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s ease;
}

body.focus-mode .focus-prompt {
    opacity: 1;
    transform: translateY(0);
}

.focus-instruction {
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 16px 0 0 0;
    opacity: 0;
    transition: all 0.4s ease;
    min-height: 24px;
}

body.focus-mode .focus-instruction {
    opacity: 1;
}

/* Instruction State Colors */
body.focus-mode.breathing-inhale .focus-instruction {
    color: rgba(150, 200, 255, 0.7);
}

body.focus-mode.breathing-hold .focus-instruction {
    color: rgba(255, 220, 150, 0.7);
}

body.focus-mode.breathing-exhale .focus-instruction {
    color: rgba(150, 255, 200, 0.7);
}

/* Stats */
.focus-stats {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 32px;
    opacity: 0;
    transition: opacity 0.5s ease 0.5s;
    z-index: 10;
}

body.focus-mode .focus-stats {
    opacity: 1;
}

.focus-timer,
.focus-breath-count {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
}

/* Attribution */
.focus-attribution {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
    margin: 0;
    opacity: 0;
    transition: opacity 0.5s ease 1s;
}

body.focus-mode .focus-attribution {
    opacity: 1;
}

.focus-attribution a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.focus-attribution a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Exit Hint */
.focus-exit-hint {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.15);
    margin: 0;
    opacity: 0;
    transition: opacity 0.5s ease 1s;
}

body.focus-mode .focus-exit-hint {
    opacity: 1;
}

/* Hide main content in focus mode */
body.focus-mode header,
body.focus-mode main,
body.focus-mode footer,
body.focus-mode .emerging-affordances {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

/* Prevent scroll in focus mode */
body.focus-mode {
    overflow: hidden;
}

/* Particle canvas adjustments in focus mode */
body.focus-mode #particle-canvas {
    opacity: 0.2;
    transition: opacity 1s ease;
}

/* Focus Mode Responsive */
@media (max-width: 768px) {
    .focus-mode-toggle {
        bottom: 90px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
    
    .focus-hint {
        display: none;
    }
    
    .focus-pattern-selector {
        top: 20px;
        gap: 6px;
    }
    
    .pattern-btn {
        padding: 8px 12px;
        min-width: 70px;
    }
    
    .pattern-name {
        font-size: 12px;
    }
    
    .pattern-desc {
        font-size: 9px;
    }
    
    .focus-breathing-container {
        width: 200px;
        height: 200px;
    }
    
    .focus-breathing-ring.outer {
        width: 200px;
        height: 200px;
    }
    
    .focus-breathing-ring.middle {
        width: 140px;
        height: 140px;
    }
    
    .focus-breathing-ring.inner {
        width: 80px;
        height: 80px;
    }
    
    .focus-prompt {
        font-size: 24px;
    }
    
    .focus-instruction {
        font-size: 14px;
    }
    
    .focus-stats {
        bottom: 100px;
        gap: 24px;
    }
    
    .focus-timer,
    .focus-breath-count {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .focus-pattern-selector {
        flex-direction: column;
        align-items: center;
    }
    
    .pattern-btn {
        width: 160px;
    }
}

/* ================================
   MICRO-INTERACTIONS
   ================================ */

/* Logo wave animation */
.logo .wave {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo:hover .wave {
    animation: waveWiggle 0.6s ease;
}

@keyframes waveWiggle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-2px) rotate(-5deg); }
    75% { transform: translateY(1px) rotate(5deg); }
}

/* Occasional ambient wave animation */
@keyframes ambientWave {
    0%, 90%, 100% { transform: translateY(0); }
    93% { transform: translateY(-1px); }
    96% { transform: translateY(1px); }
}

.logo .wave {
    animation: ambientWave 8s ease-in-out infinite;
}

/* Button press effect */
.button {
    position: relative;
    transform: translateY(0);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.button:active {
    transform: translateY(1px);
}

.button.primary:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button.secondary:active {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Button shine effect on hover */
.button.primary {
    overflow: hidden;
}

.button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.button.primary:hover::before {
    left: 100%;
}

/* Founder image effects */
.founder-image {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-image::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.founder-image:hover::before {
    opacity: 1;
}

/* Subtle pulse animation for founder image */
@keyframes subtlePulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.05);
    }
}

.founder-image {
    animation: subtlePulse 4s ease-in-out infinite;
}

.founder-image:hover {
    animation: none;
    box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.1);
}

/* Letter cards enhanced hover */
.letter-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.letter-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(
        ellipse at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.08) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.letter-card:hover::before {
    opacity: 1;
}

.letter-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Newsletter input focus glow */
.newsletter-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Newsletter button hover enhancement */
.newsletter-button {
    position: relative;
    overflow: hidden;
}

.newsletter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(49, 60, 84, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.newsletter-button:hover::before {
    left: 100%;
}

/* Social links enhanced hover */
.social-links a {
    position: relative;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.social-links a:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Nav links subtle underline effect */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hero headline subtle gradient shimmer */
.hero h1 {
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #FFFFFF 40%,
        rgba(255, 255, 255, 0.8) 50%,
        #FFFFFF 60%,
        #FFFFFF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* CTA buttons container stagger on hover */
.cta-buttons {
    perspective: 1000px;
}

.cta-buttons .button:first-child:hover ~ .button {
    transform: translateX(4px);
}

/* Cursor changes for interactive elements */
.letter-card,
.founder-image,
.emerging-word.visible {
    cursor: pointer;
}

/* Page load fade-in for body content */
@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

main {
    animation: pageLoad 0.6s ease;
}

/* ================================
   PAGE LOAD ANIMATION
   ================================ */

.page-loader {
    position: fixed;
    inset: 0;
    background: #313c54;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-symbol {
    font-size: 64px;
    color: rgba(255, 255, 255, 0.9);
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Page content fade in */
.page-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content.visible {
    opacity: 1;
}

.page-content main {
    flex: 1;
}

/* ================================
   FOCUS MODE - Sound Toggle
   ================================ */

.focus-sound-toggle {
    position: fixed;
    bottom: 100px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1003;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

body.focus-mode .focus-sound-toggle {
    opacity: 1;
    visibility: visible;
}

.focus-sound-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.focus-sound-toggle svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.focus-sound-toggle:hover svg {
    color: rgba(255, 255, 255, 0.8);
}

.focus-sound-toggle .sound-icon-off {
    display: none;
}

.focus-sound-toggle.muted .sound-icon-on {
    display: none;
}

.focus-sound-toggle.muted .sound-icon-off {
    display: block;
}

.focus-sound-toggle.muted svg {
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .focus-sound-toggle {
        bottom: 90px;
        left: 16px;
        width: 40px;
        height: 40px;
    }
}

/* Inline text link */
.inline-link {
    color: #FFFFFF;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.inline-link:hover {
    text-decoration-color: rgba(255, 255, 255, 0.8);
}

/* ================================
   DEEP DIVE PAGE (What is Attunement?)
   ================================ */

.deep-dive {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.deep-dive-hero {
    text-align: center;
    padding: 160px 0 80px;
}

.deep-dive-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 16px 0;
}

.deep-dive-hero h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0 0 20px 0;
    color: #FFFFFF;
}

.deep-dive-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.6;
}

/* Sections */
.deep-dive-section {
    margin-bottom: 64px;
}

.deep-dive-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 24px 0;
}

.deep-dive-section p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 20px 0;
}

.deep-dive-section p:last-child {
    margin-bottom: 0;
}

.deep-dive-section em {
    color: #FFFFFF;
    font-style: italic;
}

.deep-dive-section strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* Quote */
.deep-dive-quote {
    margin: 40px 0;
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 0 12px 12px 0;
}

.deep-dive-quote p,
.deep-dive-quote {
    font-size: 20px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

.deep-dive-quote cite {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.4);
}

/* Cards */
.deep-dive-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
}

.deep-dive-card:last-child {
    margin-bottom: 0;
}

.deep-dive-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 12px 0;
}

.deep-dive-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.7;
}

/* List */
.deep-dive-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
}

.deep-dive-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.deep-dive-list li::before {
    content: '〰';
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

.deep-dive-list li strong {
    color: #FFFFFF;
}

/* CTA Section */
.deep-dive-cta {
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    margin-top: 80px;
}

.deep-dive-cta h2 {
    font-size: 32px;
    margin: 0 0 16px 0;
}

.deep-dive-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 32px 0;
}

/* Footer */
.deep-dive-footer {
    position: relative;
    text-align: center;
    padding: 40px;
    background: transparent;
}

.back-home {
    display: inline-block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.back-home:hover {
    color: #FFFFFF;
}

.deep-dive-footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

/* Deep Dive Responsive */
@media (max-width: 768px) {
    .deep-dive {
        padding: 0 24px 60px;
    }
    
    .deep-dive-hero {
        padding: 120px 0 60px;
    }
    
    .deep-dive-hero h1 {
        font-size: 36px;
    }
    
    .deep-dive-subtitle {
        font-size: 18px;
    }
    
    .deep-dive-section h2 {
        font-size: 24px;
    }
    
    .deep-dive-section p {
        font-size: 17px;
    }
    
    .deep-dive-quote {
        padding: 24px;
        font-size: 18px;
    }
    
    .deep-dive-cta {
        padding: 40px 24px;
    }
}
