/* =====================================================
   分身生成工房 -Alter Ego Lab-
   Landing Page Styles
   Modern, mystical, and Japanese design trends
   ===================================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Mystical Purple/Blue */
    --primary-100: #f3e8ff;
    --primary-200: #e9d5ff;
    --primary-300: #d8b4fe;
    --primary-400: #c084fc;
    --primary-500: #a855f7;
    --primary-600: #9333ea;
    --primary-700: #7e22ce;
    --primary-800: #6b21a8;
    --primary-900: #581c87;

    /* Accent Colors - Magical Gold */
    --accent-100: #fef3c7;
    --accent-200: #fde68a;
    --accent-300: #fcd34d;
    --accent-400: #fbbf24;
    --accent-500: #f59e0b;
    --accent-600: #d97706;

    /* Secondary Colors - Deep Blue */
    --secondary-100: #dbeafe;
    --secondary-200: #bfdbfe;
    --secondary-300: #93c5fd;
    --secondary-400: #60a5fa;
    --secondary-500: #3b82f6;
    --secondary-600: #2563eb;
    --secondary-700: #1d4ed8;

    /* Neutral Colors */
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(168, 85, 247, 0.4) 0%, transparent 70%);

    /* Typography */
    --font-primary: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Cinzel', serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.8;
    color: var(--gray-800);
    background: var(--gray-50);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-600);
}

.btn-outline:hover {
    background: var(--primary-600);
    color: white;
}

.btn-premium {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: var(--gray-900);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
}

.btn-glow {
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.4); }
    50% { box-shadow: 0 0 40px rgba(168, 85, 247, 0.6); }
}

/* =====================================================
   Navigation
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-menu a {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a:not(.btn-nav):hover {
    color: white;
}

.nav-menu a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-400);
    transition: var(--transition-fast);
}

.nav-menu a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    background: var(--gradient-primary);
    border-radius: 50px;
    color: white !important;
}

.btn-nav:hover {
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: var(--transition-fast);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 120px 24px 80px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    margin-bottom: 24px;
}

.title-main {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #e9d5ff 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.title-sub {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: var(--primary-300);
    letter-spacing: 4px;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 2;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
}

.hero-description strong {
    color: var(--accent-300);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-icon {
    font-size: 1.1rem;
    color: var(--primary-300);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* =====================================================
   Section Titles
   ===================================================== */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title.center {
    justify-content: center;
    text-align: center;
}

.title-icon {
    font-size: 1.2em;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

/* =====================================================
   Magic Concept Section
   ===================================================== */
.magic-concept {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--gray-900) 0%, #1a1625 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.magic-concept::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239333ea' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.magic-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.magic-text .section-title {
    color: var(--primary-300);
    margin-bottom: 32px;
}

.magic-quote {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-500);
}

.magic-description {
    font-size: 1rem;
    line-height: 2;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}

.magic-incantation {
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 16px;
    padding: 24px 32px;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary-200);
    position: relative;
}

.magic-incantation i {
    color: var(--primary-400);
    opacity: 0.5;
}

.magic-incantation footer {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--primary-400);
}

/* Magic Circle Animation */
.magic-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.magic-circle {
    position: relative;
    width: 350px;
    height: 350px;
}

.circle-outer {
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary-500);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.circle-outer::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px dashed var(--primary-400);
    border-radius: 50%;
    opacity: 0.5;
}

.circle-inner {
    position: absolute;
    inset: 40px;
    border: 2px solid var(--primary-400);
    border-radius: 50%;
    animation: rotate 15s linear infinite reverse;
}

.circle-inner::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid var(--primary-300);
    border-radius: 50%;
    opacity: 0.3;
}

.circle-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--primary-600) 0%, var(--primary-900) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.5);
    animation: pulse 3s ease-in-out infinite;
}

.magic-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.magic-runes {
    position: absolute;
    inset: 0;
}

.magic-runes span {
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary-300);
    transform-origin: center;
    animation: rune-float 3s ease-in-out infinite;
}

.magic-runes span:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translateY(-160px); animation-delay: 0s; }
.magic-runes span:nth-child(2) { transform: translate(-50%, -50%) rotate(90deg) translateY(-160px); animation-delay: 0.75s; }
.magic-runes span:nth-child(3) { transform: translate(-50%, -50%) rotate(180deg) translateY(-160px); animation-delay: 1.5s; }
.magic-runes span:nth-child(4) { transform: translate(-50%, -50%) rotate(270deg) translateY(-160px); animation-delay: 2.25s; }

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

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 60px rgba(168, 85, 247, 0.5); }
    50% { box-shadow: 0 0 100px rgba(168, 85, 247, 0.8); }
}

@keyframes rune-float {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* =====================================================
   Use Cases Section
   ===================================================== */
.use-cases {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #1a1625 0%, var(--gray-50) 100%);
}

.use-cases .section-title {
    color: white;
    margin-bottom: 48px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.use-case-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.gradient-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.gradient-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.gradient-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

.use-case-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--gray-800);
}

.use-case-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* =====================================================
   Features Section
   ===================================================== */
.features {
    padding: var(--section-padding);
    background: var(--gray-50);
}

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

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition-normal);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--primary-100);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-600);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

/* =====================================================
   How It Works Section
   ===================================================== */
.how-it-works {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-50, #faf5ff) 0%, var(--secondary-50, #eff6ff) 100%);
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: white;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.step:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.step-icon {
    flex-shrink: 0;
    font-size: 2rem;
    color: var(--primary-400);
}

/* =====================================================
   Details Section
   ===================================================== */
.details-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.detail-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.detail-icon {
    font-size: 1.8rem;
}

.detail-header h3 {
    font-size: 1.3rem;
    color: var(--gray-800);
}

.detail-description {
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* Character Table */
.detail-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.table-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px;
    gap: 16px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: 12px;
    align-items: center;
}

.table-label {
    font-weight: 600;
    color: var(--primary-600);
    font-size: 0.9rem;
}

.table-desc {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.table-example {
    color: var(--gray-500);
    font-size: 0.85rem;
    background: white;
    padding: 4px 10px;
    border-radius: 6px;
    text-align: center;
}

/* Avatar Requirements */
.avatar-requirements {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.req-section h4 {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.req-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.req-section li {
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.req-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-500);
}

.req-section.tips {
    background: var(--primary-50, #faf5ff);
    padding: 16px;
    border-radius: 12px;
}

/* Voice Options */
.voice-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.voice-preset h4,
.voice-clone h4 {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.preset-list {
    display: flex;
    gap: 12px;
}

.preset-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
    font-size: 0.9rem;
}

.preset-item i {
    font-size: 1.2rem;
}

.preset-item.male i { color: #3b82f6; }
.preset-item.female i { color: #ec4899; }

.model-name {
    margin-left: auto;
    font-weight: 600;
    color: var(--primary-600);
    font-size: 0.85rem;
}

.voice-clone p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: var(--accent-100);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--accent-600);
}

.notice i {
    margin-top: 2px;
}

/* Chat Features */
.chat-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.chat-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
}

.chat-feature > i {
    font-size: 1.3rem;
    color: var(--primary-500);
    width: 24px;
    text-align: center;
}

.chat-feature h4 {
    font-size: 0.95rem;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.chat-feature p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.6;
}

.browser-note {
    color: var(--gray-400);
    font-size: 0.8rem;
}

.output-notice {
    background: linear-gradient(135deg, var(--primary-50, #faf5ff) 0%, var(--secondary-50, #eff6ff) 100%);
    padding: 16px;
    border-radius: 12px;
}

.output-notice h4 {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.output-notice p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* =====================================================
   Streaming Section
   ===================================================== */
.streaming-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

.streaming-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.streaming-card {
    background: white;
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.streaming-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.streaming-icon {
    font-size: 1.8rem;
}

.streaming-header h3 {
    font-size: 1.3rem;
    color: var(--gray-800);
}

.streaming-desc {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.streaming-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.streaming-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.streaming-step h4 {
    font-size: 0.95rem;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.streaming-step p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: 1.6;
}

.customize-options {
    background: var(--gray-50);
    padding: 20px;
    border-radius: 16px;
}

.customize-options h4 {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.customize-options ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.customize-options li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.customize-options li i {
    color: var(--primary-500);
    width: 20px;
}

.api-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    background: #fef2f2;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #dc2626;
}

.api-notice i {
    margin-top: 2px;
}

/* =====================================================
   Pricing Section
   ===================================================== */
.pricing {
    padding: var(--section-padding);
    background: linear-gradient(180deg, white 0%, var(--gray-50) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--gray-100);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-glow);
}

.pricing-card.premium {
    border-color: var(--accent-400);
    background: linear-gradient(180deg, #fffbeb 0%, white 30%);
}

.popular-badge,
.premium-badge {
    position: absolute;
    top: 0;
    right: 24px;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0 0 8px 8px;
}

.popular-badge {
    background: var(--gradient-primary);
    color: white;
}

.premium-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: var(--gray-900);
}

.pricing-header {
    padding: 32px 24px 24px;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-header h3 {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 1.2rem;
    color: var(--gray-500);
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
}

.period {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.pricing-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-features {
    list-style: none;
    margin-bottom: 20px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-50);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-500);
    font-size: 0.9rem;
}

.pricing-features .fa-star {
    color: var(--accent-500);
}

.pricing-features .fa-infinity {
    color: var(--secondary-500);
}

.pricing-features .fa-crown {
    color: var(--accent-500);
}

.plan-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.6;
}

.pricing-body .btn {
    width: 100%;
    margin-top: auto;
}

/* =====================================================
   Tips Section
   ===================================================== */
.tips-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

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

.tip-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition-normal);
}

.tip-card:hover {
    box-shadow: var(--shadow-lg);
}

.tip-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-100);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-600);
    margin-bottom: 20px;
}

.tip-card h3 {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.tip-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tip-card li {
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.tip-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-500);
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact {
    padding: var(--section-padding);
    background: var(--gradient-hero);
    color: white;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact .section-title {
    color: white;
    justify-content: center;
    margin-bottom: 20px;
}

.contact p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 1.1rem;
    color: white;
    transition: var(--transition-normal);
}

.contact-email:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-700);
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-subtitle {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-600);
    color: white;
}

.footer-bottom {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-card:nth-child(4),
    .pricing-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 1024px) {
    .magic-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .magic-visual {
        order: -1;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card:nth-child(5) {
        grid-column: span 2;
        max-width: 400px;
        justify-self: center;
    }
    
    .streaming-grid {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(15, 12, 41, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-stats {
        gap: 16px;
    }
    
    .stat-item {
        padding: 8px 12px;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .magic-circle {
        width: 280px;
        height: 280px;
    }
    
    .magic-runes span:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translateY(-125px); }
    .magic-runes span:nth-child(2) { transform: translate(-50%, -50%) rotate(90deg) translateY(-125px); }
    .magic-runes span:nth-child(3) { transform: translate(-50%, -50%) rotate(180deg) translateY(-125px); }
    .magic-runes span:nth-child(4) { transform: translate(-50%, -50%) rotate(270deg) translateY(-125px); }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card:nth-child(5) {
        grid-column: span 1;
        max-width: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
    
    .table-row {
        grid-template-columns: 70px 1fr;
        gap: 8px;
    }
    
    .table-example {
        grid-column: span 2;
        text-align: left;
    }
    
    .preset-list {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon {
        display: none;
    }
}

/* =====================================================
   Animations
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Particle styles for hero */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(168, 85, 247, 0.5);
    border-radius: 50%;
    pointer-events: none;
}
