:root {
    /* Colors that match the actual logo precisely */
    --brand-dark: #0a2830;     /* Dark navy from the logo */
    --brand-cream: #f8ecd0;    /* Cream background from the logo */
    --brand-accent: #d8b795;   /* Accent color from logo edges */
    --text-light: #ffffff;
    --text-muted: #cccccc;
    
    /* More sophisticated color palette */
    --block-navy: #0a2830;     /* Same as brand-dark */
    --block-teal: #1a4a54;     /* Lighter navy/teal that complements the logo */
    --block-accent: #d8b795;   /* Same as brand-accent */
    --block-cream: #f8ecd0;    /* Same as brand-cream */
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Starfield Background */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.lifestyle-icon {
    position: absolute;
    color: rgba(255,255,255,0.22);
    pointer-events: none;
    will-change: transform;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    filter: blur(0.5px) drop-shadow(0 0 6px rgba(255,255,255,0.18));
}

@keyframes starfieldFly {
    0% { transform: translate(-50%, -50%) scale(0.1); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.6; }
    100% { opacity: 0; }
}

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

/* Header & Navigation */
header {
    padding: 20px 0;
    position: relative;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-cream);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--brand-cream);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0 120px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(248, 236, 208, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
}

/* Animated Heading */
.animated-heading {
    position: relative;
    font-size: 3.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    min-height: 4rem;
    perspective: 1200px;
    width: 100%;
}

.animated-heading .heading-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.05em 0.1em;
    line-height: 1.3;
    z-index: 5;
    font-family: 'Courier New', monospace;
    width: 100%;
}

.word-group {
    display: inline-flex;
    flex-wrap: nowrap;
    margin: 0 0em 0.2em 0em;
}

/* Floating Icons */
.memory-icon {
    position: fixed;
    font-size: 1.5rem;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

@keyframes floatAcrossPage {
    0% { opacity: 0; transform: translateY(100vh) scale(0.3); filter: blur(3px); }
    10% { opacity: 0.7; filter: blur(0px); }
    90% { opacity: 0.7; }
    100% { opacity: 0; transform: translateY(-20vh) scale(0.8); }
}

@keyframes gentlePageFloat {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(15px) translateY(-10px); }
    50% { transform: translateX(-10px) translateY(5px); }
    75% { transform: translateX(8px) translateY(-8px); }
}

/* Icon Colors */
.icon-photos { color: #ff6b9d; text-shadow: 0 0 10px rgba(255, 107, 157, 0.5); }
.icon-music { color: #4ecdc4; text-shadow: 0 0 10px rgba(78, 205, 196, 0.5); }
.icon-location { color: #45b7d1; text-shadow: 0 0 10px rgba(69, 183, 209, 0.5); }
.icon-fitness { color: #96ceb4; text-shadow: 0 0 10px rgba(150, 206, 180, 0.5); }
.icon-email { color: #feca57; text-shadow: 0 0 10px rgba(254, 202, 87, 0.5); }
.icon-calendar { color: #ff9ff3; text-shadow: 0 0 10px rgba(255, 159, 243, 0.5); }
.icon-camera { color: #54a0ff; text-shadow: 0 0 10px rgba(84, 160, 255, 0.5); }
.icon-heart { color: #fd79a8; text-shadow: 0 0 10px rgba(253, 121, 168, 0.5); }

/* Typewriter Animation */
@keyframes typeKey {
    0% { opacity: 0; transform: translateY(-8px) scale(0.9); }
    5% { opacity: 0.3; }
    10% { opacity: 1; transform: translateY(3px) scale(1.05); }
    15% { transform: translateY(0) scale(1) rotate(-1deg); }
    20% { transform: rotate(1deg); }
    25% { transform: rotate(0); }
    100% { opacity: 1; transform: none; }
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background-color: var(--brand-cream);
    margin-left: 0.1em;
    animation: blink 0.7s infinite;
    position: relative;
    top: 0.1em;
    opacity: 0;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.typing-complete {
    text-shadow: 0 0 20px rgba(248, 236, 208, 0.3);
    transition: text-shadow 2s ease-in-out;
}

/* Device Showcase */
.device-showcase {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin: 60px 0;
    flex-wrap: wrap;
}

.device {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    flex: 1;
    min-width: 160px;
    max-width: 200px;
}

.device:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(248, 236, 208, 0.2);
}

.device-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    color: var(--brand-cream);
}

.device h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--brand-cream);
}

.device p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
    min-height: 2.8rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--brand-cream);
    margin-right: 10px;
    font-size: 1.2rem;
}

.feature-card h3 {
    color: var(--brand-cream);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.7;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 40px;
}

/* Form Styles */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-cream) 0%, var(--brand-accent) 100%);
    color: var(--brand-dark);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(248, 236, 208, 0.3);
}

.waitlist-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    color: var(--brand-cream);
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-cream);
    box-shadow: 0 0 0 2px rgba(248, 236, 208, 0.2);
}

.form-group input::placeholder {
    color: #888888;
}

.form-group textarea {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-cream);
    box-shadow: 0 0 0 2px rgba(248, 236, 208, 0.2);
}

.form-group textarea::placeholder {
    color: #888888;
}

.verification-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.verification-question {
    color: var(--brand-cream);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.verification-input {
    width: 100px !important;
    text-align: center;
    font-weight: bold;
}

.form-note {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 5px;
    font-style: italic;
}

.success-message {
    display: none;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
    color: #22c55e;
    text-align: center;
}

.error-message {
    display: none;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
    color: #ef4444;
    text-align: center;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--brand-cream);
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Cookie Consent Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 40, 48, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--brand-accent);
    padding: 20px;
    z-index: 10000;
    animation: slideUp 0.3s ease-out;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    color: var(--brand-cream);
    margin: 0 0 8px 0;
    font-size: 1.2rem;
}

.cookie-text p {
    color: #cccccc;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cookie-btn-necessary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-necessary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cookie-btn-all {
    background: linear-gradient(135deg, var(--brand-cream) 0%, var(--brand-accent) 100%);
    color: var(--brand-dark);
}

.cookie-btn-all:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(248, 236, 208, 0.3);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--brand-cream);
    border: 1px solid var(--brand-cream);
}

.cookie-btn-settings:hover {
    background: var(--brand-cream);
    color: var(--brand-dark);
}

/* Cookie Settings Modal */
.cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
}

.cookie-settings-content {
    background: var(--brand-dark);
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    border: 1px solid var(--brand-accent);
}

.cookie-settings-content h3 {
    color: var(--brand-cream);
    margin: 0 0 25px 0;
    font-size: 1.5rem;
    text-align: center;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.cookie-toggle {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    width: 50px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
    transition: background 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
    background: var(--brand-accent);
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(26px);
}

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    background: var(--brand-accent);
    opacity: 0.7;
}

.toggle-text strong {
    color: var(--brand-cream);
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.toggle-text p {
    color: #cccccc;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.cookie-settings-buttons {
    text-align: center;
    margin-top: 25px;
}

.cookie-btn-save {
    background: linear-gradient(135deg, var(--brand-cream) 0%, var(--brand-accent) 100%);
    color: var(--brand-dark);
    padding: 12px 30px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .animated-heading {
        font-size: 2.5rem;
        min-height: 3rem;
        margin-bottom: 15px;
    }
    
    .hero-logo {
        width: 98px;
        height: 98px;
    }
    
    .memory-icon {
        font-size: 1.2rem;
    }
    
    .word-group {
        margin: 0 0.2em 0.1em 0.2em;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .device-showcase {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .device {
        max-width: 250px;
        width: 100%;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .animated-heading {
        font-size: 2rem;
        min-height: 2.5rem;
        margin-bottom: 10px;
    }
    
    .hero-logo {
        width: 84px;
        height: 84px;
    }
    
    .memory-icon {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}
