/* Hero Section Styles */
.hero {
    padding-top: 44px;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    z-index: 10;
    /* Sociail.com canonical hero backdrop, light variant by default */
    background-image: url("/images/sociail_light_static_bg_far_faded_no_clouds.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

@media (prefers-color-scheme: dark) {
    .hero {
        background-image: url("/images/sociail_dark_static_bg_far_faded_no_clouds.png");
    }
}

[data-theme="dark"] .hero {
    background-image: url("/images/sociail_dark_static_bg_far_faded_no_clouds.png");
}

[data-theme="light"] .hero {
    background-image: url("/images/sociail_light_static_bg_far_faded_no_clouds.png");
}

.hero-content {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(10px, 1.8vh, 18px) 22px clamp(2px, 1vh, 8px);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero .coming-soon-badge {
    margin-bottom: 8px;
    border: 1px solid rgba(99, 102, 241, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
        rgba(238, 242, 255, 0.72);
    color: #4338ca;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 12px 30px rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.hero .coming-soon-badge .pill-prefix {
    color: rgba(67, 56, 202, 0.62);
}

.hero .coming-soon-badge .pill-accent {
    color: #7c3aed;
}

.hero .coming-soon-badge .pill-icon {
    color: #6366f1;
}

.hero h1 {
    margin-bottom: 2px;
    font-size: clamp(2.55rem, 5.3vw, 4.35rem);
}

.hero h1 .gradient-text {
    background:
        linear-gradient(90deg, #4f46e5 0%, #7c3aed 48%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

@media (prefers-color-scheme: dark) {
    .hero .coming-soon-badge {
        border-color: rgba(165, 180, 252, 0.2);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
            rgba(30, 27, 75, 0.64);
        color: #dbeafe;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.12),
            0 12px 30px rgba(0, 0, 0, 0.28);
    }

    .hero .coming-soon-badge .pill-prefix {
        color: rgba(199, 210, 254, 0.66);
    }

    .hero .coming-soon-badge .pill-accent,
    .hero .coming-soon-badge .pill-icon {
        color: #c4b5fd;
    }
}

[data-theme="dark"] .hero .coming-soon-badge {
    border-color: rgba(165, 180, 252, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(30, 27, 75, 0.64);
    color: #dbeafe;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 12px 30px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .hero .coming-soon-badge .pill-prefix {
    color: rgba(199, 210, 254, 0.66);
}

[data-theme="dark"] .hero .coming-soon-badge .pill-accent,
[data-theme="dark"] .hero .coming-soon-badge .pill-icon {
    color: #c4b5fd;
}

/* Device Section */
.device-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    padding: 0 0 clamp(18px, 3vh, 34px) 0;
    perspective: 1000px;
    overflow: visible;
    min-height: clamp(430px, calc(100svh - 250px), 650px);
}

.device-preview {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: clamp(410px, calc(100svh - 270px), 620px);
}

/* Concentric Circles Background */
.concentric-circles {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150vw;
    height: 150vw;
    max-width: 1400px;
    max-height: 1400px;
    pointer-events: none;
    z-index: 0;
    animation: circleFloat 6s ease-in-out infinite;
    mask-image: radial-gradient(ellipse at center, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 40%, 
        rgba(0,0,0,0.8) 60%, 
        rgba(0,0,0,0.4) 75%, 
        rgba(0,0,0,0) 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 40%, 
        rgba(0,0,0,0.8) 60%, 
        rgba(0,0,0,0.4) 75%, 
        rgba(0,0,0,0) 85%);
}

@keyframes circleFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    25% { transform: translate(-50%, -50%) translateY(-20px); }
    75% { transform: translate(-50%, -50%) translateY(10px); }
}

.circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid;
    animation: pulse 4s ease-out infinite;
}

.circle:nth-child(1) {
    width: 20%;
    height: 20%;
    min-width: 200px;
    min-height: 200px;
    border-color: rgba(134, 134, 139, 0.3);
    animation-delay: 0s;
}

.circle:nth-child(2) {
    width: 35%;
    height: 35%;
    min-width: 300px;
    min-height: 300px;
    border-color: rgba(134, 134, 139, 0.25);
    animation-delay: 0.5s;
}

.circle:nth-child(3) {
    width: 50%;
    height: 50%;
    min-width: 400px;
    min-height: 400px;
    border-color: rgba(134, 134, 139, 0.2);
    animation-delay: 1s;
}

.circle:nth-child(4) {
    width: 65%;
    height: 65%;
    min-width: 500px;
    min-height: 500px;
    border-color: rgba(134, 134, 139, 0.15);
    animation-delay: 1.5s;
}

.circle:nth-child(5) {
    width: 80%;
    height: 80%;
    min-width: 600px;
    min-height: 600px;
    border-color: rgba(134, 134, 139, 0.1);
    animation-delay: 2s;
}

@keyframes pulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Ticker Tape Styles */
.ticker-container {
    position: absolute;
    width: 100%;
    overflow: hidden;
    opacity: 0.62;
}

.ticker-bottom {
    bottom: clamp(86px, 13%, 128px);
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
}

.ticker-bottom .ticker-content {
    animation: scrollReverse 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.ticker-item {
    padding: 0 40px;
    font-size: 16px;
    color: var(--text-secondary);
    font-family: 'SF Mono', Monaco, monospace;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ticker-item::before {
    content: "•";
    color: var(--sociail-yellow);
    font-weight: bold;
}

.ticker-item.work {
    color: var(--sociail-blue);
}

.ticker-item.personal {
    color: #d4a017;
}

.ticker-item.family {
    color: #34c759;
}

.ticker-item.creative {
    color: #ff3b30;
}

.hero-bridge {
    position: absolute;
    left: 50%;
    bottom: clamp(22px, 4.6vh, 46px);
    z-index: 35;
    width: min(100% - 44px, 760px);
    transform: translateX(-50%);
    padding: 13px 20px;
    border: 1px solid rgba(99, 102, 241, 0.16);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
        rgba(255, 255, 255, 0.62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 18px 52px rgba(31, 41, 55, 0.1);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.hero-bridge::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto;
    height: 52%;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hero-bridge p {
    position: relative;
    margin: 0;
    color: rgba(29, 29, 31, 0.82);
    font-size: clamp(0.95rem, 1.35vw, 1.12rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.004em;
    text-wrap: balance;
}

@media (prefers-color-scheme: dark) {
    .hero-bridge {
        border-color: rgba(165, 180, 252, 0.18);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
            rgba(17, 24, 39, 0.66);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.12),
            0 18px 52px rgba(0, 0, 0, 0.32);
    }

    .hero-bridge p {
        color: rgba(245, 245, 247, 0.84);
    }

    .hero-bridge::before {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
    }
}

[data-theme="dark"] .hero-bridge {
    border-color: rgba(165, 180, 252, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(17, 24, 39, 0.66);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 18px 52px rgba(0, 0, 0, 0.32);
}

[data-theme="dark"] .hero-bridge p {
    color: rgba(245, 245, 247, 0.84);
}

[data-theme="dark"] .hero-bridge::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

@media (prefers-reduced-motion: reduce) {
    .concentric-circles,
    .circle,
    .ticker-content,
    .device-section *,
    .hero *,
    .device-preview * {
        animation: none !important;
        transition: none !important;
    }
}
