/* ============================================
   NEXUS TECHNOLOGIES
   Theme: Tech Modern / Gradient
   Inspired by: Nstock, LayerX
   ============================================ */

:root {
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-primary-light: #eef2ff;
  --color-secondary: #06b6d4;
  --color-accent: #6366f1;
  --gradient-main: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  --gradient-card: linear-gradient(135deg, rgba(99,102,241,0.05) 0%, rgba(6,182,212,0.05) 100%);
  --color-text: #64748b;
  --color-heading: #0f172a;
  --color-bg: #fff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f172a;
  --color-header-bg: rgba(255,255,255,0.95);
  --color-footer-bg: #0f172a;
  --color-footer-text: rgba(255,255,255,0.5);

  --font-heading: 'Inter', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;

  --container-width: 1200px;
  --header-height: 72px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;
}

/* Loading */
.loading-screen { background: var(--color-bg-dark); }
.loading-logo { font-family: var(--font-en); font-size: 1.5rem; font-weight: 700; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Header */
.header { background: transparent; }
.header.scrolled { background: var(--color-header-bg); backdrop-filter: blur(20px); }
.header .logo { font-family: var(--font-en); font-size: 1.2rem; font-weight: 700; color: var(--color-heading); display: flex; align-items: center; gap: 0.5rem; }
.header .logo-icon { width: 32px; height: 32px; background: var(--gradient-main); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.85rem; }
.header .nav-link { font-size: 0.85rem; font-weight: 500; color: var(--color-text); }
.header .nav-link::after { background: var(--color-primary); }
.header .nav-cta { background: var(--gradient-main); color: #fff; padding: 0.55rem 1.5rem; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; transition: all 0.3s ease; }
.header .nav-cta:hover { opacity: 1; transform: translateY(-1px); box-shadow: 0 8px 25px rgba(99,102,241,0.3); }

/* Hero */
.hero-tech { min-height: 100vh; background: var(--gradient-dark); position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-tech::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(rgba(99,102,241,0.15) 1px, transparent 1px); background-size: 30px 30px; opacity: 0.5; }
.hero-tech::after { content: ''; position: absolute; top: 20%; right: 10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%); border-radius: 50%; filter: blur(60px); }

.hero-glow { position: absolute; bottom: 10%; left: 20%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%); border-radius: 50%; filter: blur(60px); }

.hero-tech-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; padding-top: var(--header-height); }

.hero-tech .hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3); color: #a5b4fc; padding: 0.4rem 1rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 500; margin-bottom: 1.5rem; }
.hero-tech .hero-badge-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-tech h1 { font-family: var(--font-en); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.hero-tech h1 .gradient-text { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-tech .hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.6); line-height: 1.9; margin-bottom: 2rem; max-width: 480px; }
.hero-tech .hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-gradient { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; background: var(--gradient-main); color: #fff; border-radius: var(--radius-full); font-weight: 600; font-size: 0.9rem; transition: all 0.3s ease; }
.btn-gradient:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 15px 40px rgba(99,102,241,0.4); }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; border: 1px solid rgba(255,255,255,0.2); color: #fff; border-radius: var(--radius-full); font-weight: 500; font-size: 0.9rem; transition: all 0.3s ease; }
.btn-ghost:hover { opacity: 1; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

.hero-product { position: relative; }
.hero-product-mockup { background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(6,182,212,0.1) 100%); border: 1px solid rgba(99,102,241,0.2); border-radius: var(--radius-lg); padding: 2rem; backdrop-filter: blur(10px); }
.hero-product-screen { background: #1e293b; border-radius: var(--radius); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-product-screen::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--gradient-main); }
.mockup-dots { display: flex; gap: 6px; position: absolute; top: 12px; left: 16px; }
.mockup-dots span { width: 8px; height: 8px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #eab308; }
.mockup-dots span:nth-child(3) { background: #22c55e; }
.mockup-content { padding: 2.5rem 1.5rem 1.5rem; width: 100%; }
.mockup-bar { height: 8px; border-radius: 4px; margin-bottom: 0.75rem; }
.mockup-chart { display: flex; align-items: flex-end; gap: 8px; height: 100px; margin-top: 1rem; }
.mockup-chart-bar { flex: 1; background: var(--gradient-main); border-radius: 4px 4px 0 0; opacity: 0.7; animation: chartGrow 1.5s ease-out forwards; }
@keyframes chartGrow { from { height: 0; } }

@media (max-width: 768px) {
  .hero-tech-inner { grid-template-columns: 1fr; }
  .hero-tech { min-height: auto; padding: 6rem 0 4rem; }
}

/* Logos */
.logos-section { padding: 3rem 0; border-bottom: 1px solid #f1f5f9; }
.logos-section p { text-align: center; font-size: 0.8rem; color: var(--color-text); margin-bottom: 1.5rem; }
.logos-grid { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; opacity: 0.4; }
.logo-placeholder { font-family: var(--font-en); font-size: 1.1rem; font-weight: 700; color: var(--color-heading); letter-spacing: 0.05em; }

/* Features */
.features-tech { padding: clamp(5rem,10vw,8rem) 0; }
.feature-tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.feature-tech-card { background: var(--color-bg-alt); border: 1px solid #f1f5f9; border-radius: var(--radius-lg); padding: 2rem; transition: all 0.3s ease; }
.feature-tech-card:hover { border-color: rgba(99,102,241,0.3); box-shadow: 0 20px 50px rgba(99,102,241,0.08); transform: translateY(-4px); }
.feature-tech-icon { width: 48px; height: 48px; background: var(--gradient-card); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1.25rem; border: 1px solid rgba(99,102,241,0.1); }
.feature-tech-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-tech-card p { font-size: 0.85rem; color: var(--color-text); line-height: 1.8; }
@media (max-width: 768px) { .feature-tech-grid { grid-template-columns: 1fr; } }

/* Product Showcase */
.product-section { padding: clamp(5rem,10vw,8rem) 0; background: var(--color-bg-alt); }
.product-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.product-showcase:nth-child(even) { direction: rtl; }
.product-showcase:nth-child(even) > * { direction: ltr; }
.product-visual { background: var(--gradient-card); border: 1px solid rgba(99,102,241,0.1); border-radius: var(--radius-lg); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--color-text); }
.product-text h3 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 700; }
.product-text p { font-size: 0.9rem; color: var(--color-text); line-height: 2; margin-bottom: 1.5rem; }
.product-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--color-text); padding: 0.4rem 0; }
.product-list li::before { content: ''; width: 20px; height: 20px; background: var(--color-primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 768px) { .product-showcase { grid-template-columns: 1fr; } .product-showcase:nth-child(even) { direction: ltr; } }

/* Numbers (Dark) */
.numbers-tech { padding: clamp(4rem,8vw,6rem) 0; background: var(--gradient-dark); position: relative; overflow: hidden; }
.numbers-tech::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(99,102,241,0.1) 1px, transparent 1px); background-size: 30px 30px; }
.numbers-tech-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; position: relative; z-index: 1; }
.numbers-tech-grid .counter { font-family: var(--font-en); font-size: clamp(2.5rem,4vw,3.5rem); font-weight: 800; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.numbers-tech-grid .number-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.5rem; }
@media (max-width: 768px) { .numbers-tech-grid { grid-template-columns: repeat(2,1fr); } }

/* Pricing */
.pricing-section { padding: clamp(5rem,10vw,8rem) 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.pricing-card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); padding: 2.5rem 2rem; text-align: center; transition: all 0.3s ease; position: relative; }
.pricing-card.popular { border-color: var(--color-primary); box-shadow: 0 20px 60px rgba(99,102,241,0.15); }
.pricing-card.popular::before { content: 'Most Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gradient-main); color: #fff; padding: 0.3rem 1.5rem; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 600; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.pricing-plan { font-family: var(--font-en); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; }
.pricing-price { font-family: var(--font-en); font-size: 2.5rem; font-weight: 800; color: var(--color-heading); margin-bottom: 0.25rem; }
.pricing-price span { font-size: 0.9rem; font-weight: 400; color: var(--color-text); }
.pricing-desc { font-size: 0.8rem; color: var(--color-text); margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #f1f5f9; }
.pricing-features { text-align: left; margin-bottom: 2rem; }
.pricing-features li { font-size: 0.85rem; color: var(--color-text); padding: 0.4rem 0; padding-left: 1.5rem; position: relative; }
.pricing-features li::before { content: '\2713'; position: absolute; left: 0; color: var(--color-primary); font-weight: 600; }
.pricing-btn { display: block; width: 100%; padding: 0.85rem; text-align: center; border-radius: var(--radius-full); font-weight: 600; font-size: 0.9rem; transition: all 0.3s ease; }
.pricing-btn-primary { background: var(--gradient-main); color: #fff; }
.pricing-btn-primary:hover { opacity: 1; transform: translateY(-1px); box-shadow: 0 8px 25px rgba(99,102,241,0.3); }
.pricing-btn-outline { border: 1px solid #e2e8f0; color: var(--color-heading); }
.pricing-btn-outline:hover { opacity: 1; border-color: var(--color-primary); color: var(--color-primary); }
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; } }

/* CTA */
.cta-tech { background: var(--gradient-dark); padding: clamp(5rem,10vw,8rem) 0; text-align: center; position: relative; overflow: hidden; }
.cta-tech::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(99,102,241,0.1) 1px, transparent 1px); background-size: 30px 30px; }
.cta-tech h2 { color: #fff; font-family: var(--font-en); font-size: clamp(2rem,4vw,3rem); font-weight: 800; margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-tech p { color: rgba(255,255,255,0.5); font-size: 0.95rem; margin-bottom: 2rem; position: relative; z-index: 1; }

/* Page Header */
.page-header-tech { background: var(--gradient-dark); padding: calc(var(--header-height) + 3rem) 0 3rem; color: #fff; position: relative; overflow: hidden; }
.page-header-tech::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(99,102,241,0.1) 1px, transparent 1px); background-size: 30px 30px; }
.page-header-tech h1 { color: #fff; font-family: var(--font-en); font-size: clamp(2rem,4vw,3rem); font-weight: 800; position: relative; z-index: 1; }
.page-header-tech .section-label { position: relative; z-index: 1; color: var(--color-primary); }
.page-header-tech .page-subtitle { position: relative; z-index: 1; color: rgba(255,255,255,0.4); font-family: var(--font-en); font-size: 0.8rem; letter-spacing: 0.1em; margin-top: 0.5rem; }

/* Testimonials */
.testimonial-card { background: var(--color-bg-alt); border: 1px solid #f1f5f9; border-radius: var(--radius-lg); padding: 2rem; }
.testimonial-quote { font-size: 0.9rem; color: var(--color-text); line-height: 2; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-card); }
.testimonial-name { font-size: 0.9rem; font-weight: 600; color: var(--color-heading); }
.testimonial-company { font-size: 0.75rem; color: var(--color-text); }

/* Forms */
.form-input, .form-textarea, .form-select { border-radius: var(--radius); border-color: #e2e8f0; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }

/* Breadcrumb */
.breadcrumb a { color: var(--color-primary); }

/* SCALE Badge */
.scale-badge { border-radius: var(--radius-full); background: var(--color-bg-dark); }
.scale-badge-dot { background: var(--color-primary); }
