/* ==================================================
   Layout & Global Helpers
   ================================================== */
body {
    background: var(--divia-deep-space);
    color: var(--divia-holographic-white);
    font-family: var(--font-secondary);
    overflow-x: hidden;
    min-height: 100vh;
}

main {
    padding-top: 160px;
}

.container {
    width: min(100%);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.skip-link {
    position: absolute;
    left: -999px;
    top: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: var(--accent-blue-overlay);
    color: var(--divia-holographic-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-medium);
    font-weight: 600;
    transition: transform var(--duration-normal) var(--ease-smooth), left var(--duration-normal) var(--ease-smooth);
    transform: translateY(-20px);
    z-index: 1000;
}

.skip-link:focus {
    left: var(--space-4);
    transform: translateY(0);
}

/* ==================================================
   Header & Navigation
   ================================================== */
.primary-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding-top: var(--space-6);
    z-index: 900;
    pointer-events: none;
}

.primary-header .nav-container {
    pointer-events: auto;
}

.nav-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-5) var(--space-7);
    background: linear-gradient(145deg, rgba(9, 14, 34, 0.98) 8%, rgba(13, 18, 46, 0.9) 54%, rgba(10, 10, 15, 0.85) 100%);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 36px 70px rgba(0, 212, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    width: min(1200px, calc(100% - 48px));
}

.nav-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(0, 212, 255, 0.35) 0%, rgba(139, 92, 246, 0.28) 38%, rgba(255, 0, 128, 0.24) 65%, transparent 90%);
    opacity: 0.5;
    z-index: -1;
}

.nav-container::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    background: linear-gradient(155deg, rgba(10, 14, 32, 0.95), rgba(8, 11, 28, 0.92));
    box-shadow: inset 0 0 28px rgba(4, 6, 18, 0.9);
    z-index: -1;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    flex: 1 1 auto;
}

.nav-logo {
    font-family: var(--font-primary);
    font-size: var(--text-large);
    font-weight: 900;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--divia-electric-blue), var(--divia-neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    text-shadow: var(--glow-primary);
    white-space: nowrap;
}

.main-nav {
    flex: 1 1 auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    list-style: none;
    margin: 0;
}

.nav-link {
    color: rgba(248, 250, 252, 0.9);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    transition: color var(--duration-normal) var(--ease-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--divia-electric-blue), var(--divia-neon-purple));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--duration-normal) var(--ease-smooth);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--divia-electric-blue);
}

.nav-link:hover::after,
.nav-link:focus::after {
    transform: scaleX(1);
}

.search-container {
    position: relative;
}

.search-box {
    width: 300px;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(23, 28, 52, 0.72);
    color: var(--divia-holographic-white);
    transition: all var(--duration-normal) var(--ease-smooth);
    box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.24);
}

.search-box::placeholder {
    color: rgba(248, 250, 252, 0.5);
}

.search-box:focus {
    outline: none;
    border-color: var(--divia-electric-blue);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.35), inset 0 0 0 1px rgba(0, 212, 255, 0.45);
    background: rgba(10, 26, 60, 0.85);
    width: 340px;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: transform var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
}

.nav-cta--ghost {
    color: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(155deg, rgba(27, 33, 60, 0.96), rgba(18, 22, 44, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 32px rgba(0, 0, 0, 0.32);
}

.nav-cta--primary {
    color: var(--divia-deep-space);
    background: linear-gradient(135deg, var(--divia-electric-blue), var(--divia-neon-purple));
    box-shadow: 0 24px 50px rgba(0, 212, 255, 0.35);
}

.nav-cta:hover,
.nav-cta:focus-visible {
    transform: translateY(-3px);
}

.nav-cta--ghost:hover,
.nav-cta--ghost:focus-visible {
    box-shadow: 0 24px 48px rgba(0, 212, 255, 0.28);
}

.nav-cta--primary:hover,
.nav-cta--primary:focus-visible {
    box-shadow: 0 28px 60px rgba(0, 212, 255, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-3);
    border: 1px solid rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.08);
    cursor: pointer;
}

.nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--divia-holographic-white);
    border-radius: 2px;
    transition: transform var(--duration-normal) var(--ease-smooth), opacity var(--duration-normal) var(--ease-smooth);
}

body.nav-open {
    overflow: hidden;
}

body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(6px);
    z-index: 850;
}

body.nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

body.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==================================================
   Hero Section
   ================================================== */

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 var(--space-4);
}

.hero-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: clamp(120px, 14vw, 190px);
    margin-bottom: var(--space-5);
    filter: drop-shadow(0 18px 30px rgba(0, 212, 255, 0.35));
}

.hero-title {
    font-family: var(--font-primary);
    font-size: var(--text-hero);
    font-weight: 900;
    margin-bottom: var(--space-4);
    background: linear-gradient(45deg, var(--divia-electric-blue), var(--divia-neon-purple), var(--divia-plasma-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow-pulse 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: var(--text-large);
    opacity: 0.85;
    max-width: 520px;
}

.hero-search {
    margin-top: var(--space-5);
    display: flex;
    justify-content: center;
}

.hero-search__form {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    justify-content: center;
}

.hero-search .search-box {
    width: clamp(260px, 45vw, 520px);
}

.hero-search__submit {
    border: none;
    border-radius: var(--radius-full);
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    background: linear-gradient(135deg, var(--divia-electric-blue), var(--divia-neon-purple));
    color: var(--divia-deep-space);
    box-shadow: 0 22px 48px rgba(0, 212, 255, 0.32);
    transition: transform var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
}

.hero-search__submit:hover,
.hero-search__submit:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 28px 60px rgba(0, 212, 255, 0.4);
}

/* ==================================================
   About Section
   ================================================== */
.about-section {
    padding: var(--space-8) 0;
}

.about-headline {
    margin: 0 auto var(--space-6);
    text-align: center;
}

.glow-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    background: rgba(0, 212, 255, 0.12);
    color: var(--divia-electric-blue);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: var(--text-small);
}

.about-title {
    font-family: var(--font-primary);
    font-size: var(--text-h1);
    margin-top: var(--space-4);
    margin-bottom: var(--space-3);
    text-align: center;
}

.about-summary {
    font-size: var(--text-large);
    color: rgba(248, 250, 252, 0.82);
    margin-bottom: var(--space-3);
    text-align: center;
}

.about-panels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-5);
}

.about-card {
    background: var(--glass-light);
    border-radius: var(--radius-4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-6);
    backdrop-filter: var(--blur-light);
    transition: transform var(--duration-slow) var(--ease-smooth), box-shadow var(--duration-slow) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(0, 212, 255, 0.08), transparent);
    transform: translateX(-100%);
    transition: transform var(--duration-slow) var(--ease-smooth);
    pointer-events: none;
}

.about-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-strong);
    border-color: rgba(0, 212, 255, 0.22);
}

.about-card:hover::before {
    transform: translateX(100%);
}

.about-card h3 {
    font-family: var(--font-primary);
    font-size: var(--text-h2);
    margin-bottom: var(--space-3);
    color: var(--divia-neon-purple);
}

.about-card ul,
.about-card ol {
    display: grid;
    gap: var(--space-2);
    padding-left: var(--space-4);
    font-size: var(--text-body);
}

.about-chip {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    background: rgba(255, 0, 128, 0.12);
    color: var(--divia-plasma-pink);
    font-size: var(--text-small);
}

.about-footer {
    margin-top: var(--space-6);
    padding: var(--space-5);
    border-radius: var(--radius-4);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.12);
}

.about-footer p {
    position: relative;
    padding-left: var(--space-5);
}

.about-footer p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.85) 0%, rgba(0, 212, 255, 0) 70%);
    box-shadow: var(--glow-primary);
}

/* ==================================================
   Stats & Features
   ================================================== */
.stats-section {
    padding: var(--space-8) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-7);
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: var(--radius-4);
    padding: var(--space-6);
    text-align: center;
    backdrop-filter: var(--blur-light);
    transition: transform var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(0, 255, 136, 0.2);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--divia-cyber-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    margin-bottom: var(--space-2);
}

.stat-description {
    color: rgba(248, 250, 252, 0.78);
    font-size: var(--text-large);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-6);
    text-align: center;
    transition: transform var(--duration-normal) var(--ease-smooth), border-color var(--duration-normal) var(--ease-smooth);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 18px 32px rgba(139, 92, 246, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-3);
}

.feature-title {
    font-size: var(--text-h2);
    color: var(--divia-neon-purple);
    margin-bottom: var(--space-2);
    font-family: var(--font-primary);
}

/* ==================================================
   Plans Section
   ================================================== */
.plans-section {
    padding: var(--space-9) var(--space-6);
    text-align: center;
}

.section-title {
    font-family: var(--font-primary);
    font-size: var(--text-h1);
    color: var(--divia-electric-blue);
    text-shadow: var(--glow-primary);
    margin-bottom: var(--space-2);
}

.section-subtitle {
    font-size: var(--text-large);
    color: rgba(248, 250, 252, 0.75);
    margin-bottom: var(--space-6);
}

.plans-cta {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.cta-button {
    border: none;
    border-radius: var(--radius-full);
    padding: var(--space-4) var(--space-8);
    font-weight: 600;
    background: linear-gradient(45deg, var(--divia-electric-blue), var(--divia-neon-purple));
    color: var(--divia-deep-space);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
    cursor: pointer;
    transition: transform var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0, 212, 255, 0.4);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-5);
}

.plan-card {
    position: relative;
    border: 1px solid transparent;
    background:
        linear-gradient(164deg, rgba(18, 24, 48, 0.94), rgba(10, 13, 28, 0.88)) padding-box,
        linear-gradient(120deg, rgba(0, 212, 255, 0.55), rgba(139, 92, 246, 0.6), rgba(255, 0, 128, 0.55)) border-box;
    background-size: 100% 100%, 180% 180%;
    background-position: 0% 0%, 0% 50%;
    background-repeat: no-repeat;
    border-radius: var(--radius-4);
    padding: var(--space-6);
    text-align: left;
    backdrop-filter: var(--blur-light);
    transition: transform var(--duration-slow) var(--ease-smooth), box-shadow var(--duration-slow) var(--ease-smooth);
    animation: none;
}

.plan-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-smooth);
    pointer-events: none;
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 24px 50px rgba(0, 212, 255, 0.2);
    animation: plan-border-glow 5s linear infinite;
}

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

@keyframes plan-border-glow {
    0% {
        background-position: 0% 0%, 0% 50%;
    }
    100% {
        background-position: 0% 0%, 200% 50%;
    }
}

.plan-card.featured {
    background:
        linear-gradient(164deg, rgba(38, 18, 40, 0.94), rgba(25, 12, 32, 0.9)) padding-box,
        linear-gradient(120deg, rgba(255, 0, 128, 0.7), rgba(139, 92, 246, 0.65), rgba(0, 212, 255, 0.6)) border-box;
    background-size: 100% 100%, 180% 180%;
    background-position: 0% 0%, 0% 50%;
    box-shadow: 0 24px 60px rgba(255, 0, 128, 0.18);
}

.plan-badge {
    position: absolute;
    top: -14px;
    right: var(--space-4);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    background: linear-gradient(45deg, var(--divia-plasma-pink), var(--divia-neon-purple));
    font-size: var(--text-small);
    font-weight: 600;
}

.plan-name {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--divia-electric-blue);
    margin-bottom: var(--space-2);
}

.plan-tag {
    color: rgba(248, 250, 252, 0.65);
    font-style: italic;
    margin-bottom: var(--space-4);
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--divia-cyber-green);
    margin-bottom: var(--space-3);
}

.plan-price .currency {
    font-size: 1.2rem;
    opacity: 0.75;
}

.plan-price .period {
    font-size: 1rem;
    opacity: 0.6;
    margin-left: var(--space-1);
}

.plan-description {
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.plan-features {
    list-style: none;
    display: grid;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
    padding: 0;
}

.plan-features li {
    position: relative;
    padding-left: var(--space-4);
    color: rgba(248, 250, 252, 0.78);
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--divia-cyber-green);
    font-weight: 700;
}

.plan-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: none;
    border-radius: var(--radius-full);
    padding: var(--space-3) var(--space-5);
    background: linear-gradient(45deg, var(--divia-electric-blue), var(--divia-neon-purple));
    color: var(--divia-deep-space);
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
}

.plan-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 212, 255, 0.35);
}

/* ==================================================
   Testimonials & App Section
   ================================================== */
.testimonials-section {
    padding: var(--space-9) var(--space-6);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
    margin-top: var(--space-6);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: var(--space-6);
    text-align: left;
    backdrop-filter: var(--blur-light);
    transition: transform var(--duration-normal) var(--ease-smooth), border-color var(--duration-normal) var(--ease-smooth);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 128, 0.4);
    box-shadow: 0 18px 36px rgba(255, 0, 128, 0.2);
}

.testimonial-text {
    font-size: var(--text-large);
    font-style: italic;
    margin-bottom: var(--space-4);
}

.testimonial-author {
    color: var(--divia-plasma-pink);
    font-weight: 600;
}

.app-section {
    padding: var(--space-9) var(--space-6);
    text-align: center;
}

.app-buttons {
    display: inline-flex;
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.app-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--divia-holographic-white);
    text-decoration: none;
    transition: transform var(--duration-normal) var(--ease-smooth), border-color var(--duration-normal) var(--ease-smooth);
}

.app-button:hover {
    border-color: var(--divia-electric-blue);
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

/* ==================================================
   AI Assistant
   ================================================== */
.ai-assistant {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--divia-neon-purple), var(--divia-plasma-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.35);
    animation: float 3s ease-in-out infinite;
    z-index: 500;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ==================================================
   Register Page
   ================================================== */
.register-hero {
    padding: var(--space-9) 0 var(--space-6);
    text-align: center;
}

.register-hero h1 {
    font-family: var(--font-primary);
    font-size: var(--text-h1);
    margin-bottom: var(--space-3);
    background: linear-gradient(45deg, var(--divia-electric-blue), var(--divia-neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.register-plan-section {
    padding-bottom: var(--space-8);
}

.register-plan-header {
    text-align: center;
    margin-bottom: var(--space-5);
}

.plan-selector {
    display: grid;
    gap: var(--space-4);
}

.register-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
}

.register-plan-card {
    cursor: pointer;
}

.register-plan-card.is-selected {
    border-color: rgba(255, 0, 128, 0.5);
    box-shadow: 0 24px 60px rgba(255, 0, 128, 0.18);
}

.plan-button.selected {
    background: linear-gradient(45deg, var(--divia-plasma-pink), var(--divia-neon-purple));
    color: var(--divia-holographic-white);
}

.register-summary {
    text-align: center;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    background: rgba(0, 255, 136, 0.12);
    color: var(--divia-cyber-green);
    font-weight: 600;
}

.register-form-section {
    padding: var(--space-9) 0;
}

.register-form-shell {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: var(--space-5);
}

.register-insights {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-5);
    backdrop-filter: var(--blur-light);
}

.register-insights h3 {
    font-family: var(--font-primary);
    font-size: var(--text-h2);
    margin-bottom: var(--space-3);
}

.register-insights ul {
    list-style: none;
    display: grid;
    gap: var(--space-2);
    padding: 0;
}

.register-insights li {
    position: relative;
    padding-left: var(--space-4);
}

.register-insights li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--divia-electric-blue);
}

.register-insights-note {
    margin-top: var(--space-4);
    color: rgba(248, 250, 252, 0.7);
}

.register-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: var(--space-6);
    backdrop-filter: var(--blur-light);
    box-shadow: 0 24px 60px rgba(0, 212, 255, 0.12);
}

.register-form h2 {
    font-family: var(--font-primary);
    font-size: var(--text-h2);
    text-align: center;
    color: var(--divia-neon-purple);
    margin-bottom: var(--space-2);
}

.form-hint {
    text-align: center;
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: var(--space-5);
}

.form-hint--warning {
    color: var(--divia-warning-orange);
    background: rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.28);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-4);
    display: inline-flex;
    margin: 0 auto var(--space-4);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-field label {
    color: var(--divia-electric-blue);
    font-weight: 500;
    font-size: var(--text-small);
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-3);
    color: var(--divia-holographic-white);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--divia-electric-blue);
    box-shadow: var(--glow-primary);
    background: var(--accent-blue-overlay);
}

.form-field--inline .inline-input {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

.form-field--full {
    grid-column: 1 / -1;
}

.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-small);
    color: rgba(248, 250, 252, 0.8);
}

.register-submit {
    margin-top: var(--space-4);
    width: 100%;
    border: none;
    border-radius: var(--radius-full);
    padding: var(--space-4);
    background: linear-gradient(45deg, var(--divia-electric-blue), var(--divia-neon-purple));
    color: var(--divia-deep-space);
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
}

.register-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 50px rgba(0, 212, 255, 0.35);
}

.form-errors {
    border: 1px solid rgba(255, 0, 128, 0.4);
    background: rgba(255, 0, 128, 0.12);
    color: var(--divia-plasma-pink);
    border-radius: var(--radius-3);
    padding: var(--space-3);
    margin-bottom: var(--space-4);
}

.form-message {
    border-radius: var(--radius-3);
    padding: var(--space-3);
    margin-bottom: var(--space-3);
}

.form-message--success {
    background: rgba(0, 255, 136, 0.12);
    color: var(--divia-cyber-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

/* ==================================================
   Footer
   ================================================== */
.site-footer {
    margin-top: var(--space-9);
    background: radial-gradient(120% 160% at 50% 0%, rgba(0, 212, 255, 0.08), rgba(10, 10, 15, 0.95));
    border-top: 1px solid rgba(0, 212, 255, 0.12);
    padding: var(--space-8) 0 var(--space-6);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.footer-brand .brand-name {
    font-family: var(--font-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--divia-electric-blue);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: inherit;
}

.footer-links h4 {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--divia-electric-blue);
    margin-bottom: var(--space-3);
}

.footer-links a {
    display: block;
    color: rgba(248, 250, 252, 0.7);
    text-decoration: none;
    margin-bottom: var(--space-2);
    transition: color var(--duration-normal) var(--ease-smooth);
}

.footer-links a:hover {
    color: var(--divia-electric-blue);
}

.footer-bottom {
    text-align: center;
    color: rgba(248, 250, 252, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-3);
}

/* ==================================================
   Particles
   ================================================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--divia-electric-blue);
    border-radius: 50%;
    animation: particle-float 12s infinite linear;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10px) translateX(120px);
        opacity: 0;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 0 0 22px rgba(0, 212, 255, 0.48);
    }
    50% {
        text-shadow: 0 0 32px rgba(139, 92, 246, 0.7), 0 0 52px rgba(255, 0, 128, 0.4);
    }
}

/* ==================================================
   Responsive
   ================================================== */
@media (max-width: 1200px) {
    .plans-grid,
    .register-plan-grid,
    .about-panels,
    .features-grid,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .register-form-shell {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 960px) {
    .nav {
        gap: var(--space-3);
    }

    .main-nav {
        position: absolute;
        top: calc(100% + var(--space-3));
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        border-radius: var(--radius-4);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: var(--space-4);
        display: grid;
        gap: var(--space-3);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity var(--duration-normal) var(--ease-smooth), transform var(--duration-normal) var(--ease-smooth);
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 140px;
    }

    .hero {
        height: auto;
        padding: var(--space-8) var(--space-4);
    }

    .hero-inner {
        align-items: center;
        text-align: center;
    }

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

    .hero-search__form {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search .search-box,
    .hero-search__submit {
        width: 100%;
    }

    .about-headline {
        text-align: center;
        margin: 0 0 var(--space-6);
    }

    .about-summary,
    .about-title {
        text-align: center;
    }

    .container {
        padding: 0 var(--space-4);
    }

    .plans-grid,
    .register-plan-grid,
    .about-panels,
    .features-grid,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .search-box {
        width: 100%;
    }

    .search-box:focus {
        width: 100%;
    }

    .app-buttons {
        flex-direction: column;
        width: 100%;
    }

    .register-form {
        padding: var(--space-5) var(--space-4);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}


.benefits-section {
    padding: var(--space-9) 0;
}

.benefits-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.benefits-header h2 {
    font-family: var(--font-primary);
    font-size: var(--text-h1);
    margin-top: var(--space-4);
    color: var(--divia-neon-purple);
    text-shadow: 0 0 24px rgba(139, 92, 246, 0.5);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-5);
}

.benefits-card {
    border-radius: var(--radius-4);
    padding: var(--space-5);
    border: 1px solid transparent;
    background:
        linear-gradient(164deg, rgba(18, 24, 48, 0.92), rgba(12, 16, 34, 0.88)) padding-box,
        linear-gradient(140deg, rgba(0, 212, 255, 0.4), rgba(139, 92, 246, 0.4), rgba(255, 0, 128, 0.35)) border-box;
    box-shadow: 0 22px 44px rgba(0, 212, 255, 0.16);
    transition: transform var(--duration-slow) var(--ease-smooth), box-shadow var(--duration-slow) var(--ease-smooth);
}

.benefits-card--wide {
    grid-column: span 4;
    text-align: center;
}

.benefits-card p {
    color: rgba(248, 250, 252, 0.85);
    line-height: 1.7;
}

.benefits-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-4);
    padding: var(--space-3) var(--space-7);
    border-radius: var(--radius-full);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    background: linear-gradient(135deg, var(--divia-electric-blue), var(--divia-neon-purple));
    color: var(--divia-deep-space);
    box-shadow: 0 24px 50px rgba(0, 212, 255, 0.32);
    transition: transform var(--duration-normal) var(--ease-smooth), box-shadow var(--duration-normal) var(--ease-smooth);
}

.benefits-cta:hover,
.benefits-cta:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px rgba(0, 212, 255, 0.4);
}

.benefits-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 54px rgba(0, 212, 255, 0.24);
}

@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefits-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .benefits-header {
        text-align: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefits-card--wide {
        grid-column: span 1;
        text-align: center;
    }
}

.user-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(0, 212, 255, 0.12), transparent);
    transform: translateX(-100%);
    transition: transform var(--duration-slow) var(--ease-smooth);
    pointer-events: none;
}

.user-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 26px 54px rgba(0, 212, 255, 0.2);
}

.user-card:hover::before {
    transform: translateX(100%);
}

.user-card h3 {
    font-family: var(--font-primary);
    font-size: var(--text-h2);
    color: var(--divia-neon-purple);
    margin-bottom: var(--space-3);
}

.user-card p {
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .user-panels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .user-section__header {
        text-align: center;
    }

    .user-section__subtitle {
        margin: 0;
    }

    .user-panels {
        grid-template-columns: 1fr;
    }
}
