:root {
    --bg-color: #ffffff;
    --text-main: #0a0a0a;
    --text-sub: #555555;
    --accent-color: #0033ff;
    /* Deeper, more electric blue */
    --accent-hover: #0022cc;
    --border-color: #e0e0e0;
    --grid-color: rgba(0, 0, 0, 0.03);
    --font-heading: 'Space Grotesk', 'Zen Kaku Gothic New', sans-serif;
    --font-body: 'Inter', 'Zen Kaku Gothic New', sans-serif;
    --spacing-container: 6vw;
    --transition-smooth: all 0.5s cubic-bezier(0.2, 1, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;

    /* Global Grid Background */
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

/* Noise Overlay - Subtle Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.03"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 9998;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 51, 255, 0.3);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Utility: Container */
.container {
    width: 100%;
    max-width: 1400px;
    /* Wider for modern look */
    margin: 0 auto;
    padding: 0 4vw;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
}

.site-header nav ul {
    display: flex;
    gap: 2.5rem;
}

.site-header nav a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-header nav a:hover {
    color: var(--accent-color);
}

.btn-header {
    padding: 0.6rem 1.2rem;
    background: var(--text-main);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--text-main);
}

.btn-header:hover {
    background: transparent;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6vw;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    border: 1px solid var(--accent-color);
    padding: 0.3rem 0.8rem;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 6rem);
    margin-bottom: 2rem;
    margin-left: -0.2vw;
    /* Optical alignment */
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.2, 1, 0.2, 1) forwards;
}

.hero-title .line:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-title .line:nth-child(2) {
    animation-delay: 0.2s;
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-sub);
    margin-bottom: 3.5rem;
    max-width: 640px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.5s;
}

.hero-subtitle .subtitle-line {
    display: block;
    margin-bottom: 0.5rem;
}

.hero-subtitle .subtitle-line:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--text-main);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.6s;
}

.btn-primary {
    padding: 1.1rem 2.2rem;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    padding: 1.1rem 2.2rem;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    background: #fff;
}

.btn-secondary:hover {
    border-color: var(--text-main);
}

.hero-visual {
    flex: 0.8;
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--border-color);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);
}

/* Abstract Shapes - More refined */
.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 51, 255, 0.25) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s infinite ease-in-out;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 100, 0.15) 0%, transparent 70%);
    top: 30%;
    right: 20%;
    animation: float 10s infinite ease-in-out;
}

/* Glass Cards - Technical Look */
.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.glass-card::before {
    /* Technical Corner Accent */
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
}

.stat-card-1 {
    top: 25%;
    right: 10%;
    animation: float 8s infinite ease-in-out;
}

.stat-card-2 {
    bottom: 25%;
    left: 5%;
    animation: float 9s infinite ease-in-out reverse;
}

.glass-card .label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-sub);
    margin-bottom: 0.5rem;
}

.glass-card .value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

/* Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--text-main);
    color: #fff;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.ticker__item {
    padding: 0 3rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    position: relative;
}

.ticker__item::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
}

/* Section Styling */
section {
    padding: 8rem 0;
    position: relative;
}

/* Crosshair Dividers */
section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    border-bottom: 1px solid var(--text-main);
    border-right: 1px solid var(--text-main);
    transform: translate(-50%, 50%) rotate(45deg);
    z-index: 10;
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.section-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    /* Watermark style */
    line-height: 0.8;
}

.section-header h2 {
    font-size: 3rem;
    margin-top: -1.5rem;
}

/* Concept Section */
.concept-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
}

.concept-text h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.concept-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--border-color);
}

.stat-item {
    padding: 2.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    background: #fff;
    transition: var(--transition-smooth);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item:hover {
    background: #fafafa;
    padding-left: 3rem;
}

.stat-item .num {
    font-size: 3rem;
    color: var(--accent-color);
}

/* Features List - Grid Layout */
.feature-list {
    border-top: 1px solid var(--border-color);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.feature-info {
    padding: 5rem;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-row.reverse .feature-info {
    border-right: none;
    border-left: 1px solid var(--border-color);
    order: 2;
}

.feature-visual {
    background: #f4f4f4;
    height: auto;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Grid overlay for visuals */
.feature-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
}

/* Details Toggle (Feature Details) */
.feature-details,
.step-details,
.security-details {
    margin-top: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fafafa;
}

.feature-details summary,
.step-details summary,
.security-details summary {
    padding: 0.8rem 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--accent-color);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.feature-details summary::-webkit-details-marker,
.step-details summary::-webkit-details-marker,
.security-details summary::-webkit-details-marker {
    display: none;
}

.feature-details summary::before,
.step-details summary::before,
.security-details summary::before {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.feature-details[open] summary::before,
.step-details[open] summary::before,
.security-details[open] summary::before {
    content: '-';
    background: var(--accent-color);
    color: #fff;
}

.feature-details summary:hover,
.step-details summary:hover,
.security-details summary:hover {
    background: #f0f0f0;
}

.details-content {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    line-height: 1.8;
    overflow-x: auto;
}

.details-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.details-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
}

.details-content strong {
    color: var(--text-main);
}

/* Visual Break */
.visual-break-large {
    background: #000;
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.break-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.break-title {
    font-size: 8vw;
    line-height: 0.9;
    background: linear-gradient(180deg, #fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.break-desc {
    margin: 0 auto;
    color: #999;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    white-space: nowrap;
}

/* Animated Grid in Dark Section */
.visual-break-large::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg);
    animation: gridScroll 20s linear infinite;
}

/* Unlimited Section */
.unlimited-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.unlimited-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 51, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 51, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.unlimited-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.unlimited-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.3rem 0.8rem;
    margin-bottom: 1.5rem;
}

.unlimited-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.unlimited-title .text-gradient {
    background: linear-gradient(135deg, var(--accent-color), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.unlimited-desc {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
}

.unlimited-comparison {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.comparison-item {
    flex: 1;
    padding: 2rem;
    text-align: center;
    border-radius: 0;
}

.comparison-item.other {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-item.turbo {
    background: linear-gradient(135deg, rgba(0, 51, 255, 0.2), rgba(0, 51, 255, 0.1));
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 51, 255, 0.3);
}

.comparison-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.8rem;
}

.comparison-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.comparison-item.other .comparison-value {
    color: rgba(255, 255, 255, 0.5);
}

.comparison-item.turbo .comparison-value {
    color: var(--accent-color);
}

.comparison-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.comparison-vs {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.unlimited-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.unlimited-benefits li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.unlimited-benefits li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.unlimited-note {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Workflow Steps */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border-color);
}

.step-card {
    padding: 4rem 2.5rem;
    border: none;
    border-right: 1px solid var(--border-color);
    background: transparent;
}

.step-card:last-child {
    border-right: none;
}

.step-card:hover {
    background: #fff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.step-num {
    font-size: 1rem;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    display: inline-block;
    padding: 0.2rem 0.6rem;
    margin-bottom: 2rem;
    position: static;
}

/* Architecture */
.arch-diagram-container {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}

.diagram-box {
    background: #fff;
    border: 1px solid #000;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 1);
    border-radius: 0;
    padding: 0.8rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-align: center;
    flex: 1;
    min-width: 0;
}

.diagram-box.app {
    border-color: var(--accent-color);
    box-shadow: 3px 3px 0 var(--accent-color);
    padding: 1rem 0.8rem;
    flex: 1.5;
}

.diagram-box .box-title {
    display: block;
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
}

.diagram-box .inner-box {
    font-size: 0.6rem;
    padding: 0.3rem 0.5rem;
    margin: 0.2rem 0;
    background: #f5f5f5;
    border: 1px solid #ddd;
}

.diagram-arrow {
    font-size: 1rem;
    color: var(--text-sub);
    flex-shrink: 0;
}

/* Pricing */
.pricing-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 3rem;
    border: 1px solid var(--border-color);
    background: #fafafa;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-banner.initial-banner {
    /* シンプルなスタイル */
}

.pricing-banner.enterprise-banner {
    margin-top: 2rem;
    margin-bottom: 0;
    border-left: 4px solid #000;
    background: #000;
    color: #fff;
}

.banner-content {
    flex: 1;
    min-width: 200px;
}

.banner-label {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.enterprise-banner .banner-label {
    border-color: rgba(255,255,255,0.3);
}

.banner-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.banner-desc {
    font-size: 0.85rem;
    color: var(--text-sub);
}

.enterprise-banner .banner-desc {
    color: rgba(255,255,255,0.7);
}

.banner-price {
    text-align: center;
    min-width: 150px;
}

.banner-price .price-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.banner-price .price-tax {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
}

.banner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
    min-width: 200px;
}

.banner-features span {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    background: #fff;
    border: 1px solid var(--border-color);
}

.enterprise-banner .banner-features span {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

.enterprise-banner .btn-outline {
    border-color: #fff;
    color: #fff;
    margin-left: auto;
}

.enterprise-banner .btn-outline:hover {
    background: #fff;
    color: #000;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    border: 1px solid #000;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 1);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--accent-color);
    box-shadow: 6px 6px 0 var(--accent-color);
    transform: scale(1.02);
    position: relative;
}

.card-header {
    background: #000;
    padding: 2rem 1.5rem;
    color: #fff;
    text-align: center;
}

.pricing-card.featured .card-header {
    background: var(--accent-color);
}

.plan-badge {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

.plan-badge.recommended {
    background: #fff;
    color: var(--accent-color);
    border: none;
    font-weight: 700;
}

.card-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.card-header .price {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.card-header .tax {
    font-size: 0.75rem;
    font-weight: 400;
}

.card-header .payment-type {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.card-body {
    padding: 1.5rem;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.feature-check-list li {
    border-bottom: 1px solid #eee;
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.feature-check-list li::before {
    content: '';
    width: 14px;
    height: 14px;
    margin-right: 1rem;
    flex-shrink: 0;
    background: var(--accent-color);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.feature-check-list li:last-child {
    border-bottom: none;
}

.full-width {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: auto;
    padding-top: 1.5rem;
}

.pricing-notes {
    margin-top: 3rem;
    text-align: center;
}

.pricing-notes .disclaimer {
    font-size: 0.8rem;
    color: var(--text-sub);
    margin: 0.3rem 0;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border-color);
}

.security-card {
    padding: 3rem 2.5rem;
    background: #fff;
    border-right: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
}

.security-card:last-child {
    border-right: none;
}

.security-card:hover {
    background: #fafafa;
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.security-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color) 0%, #0022cc 100%);
    border-radius: 12px;
    color: #fff;
}

.security-icon svg {
    stroke: #fff;
}

.security-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.security-card p {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.7;
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item[open] {
    background: #fafafa;
}

.faq-item summary.question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s ease;
}

.faq-item summary.question::-webkit-details-marker {
    display: none;
}

.faq-item summary.question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item[open] summary.question::after {
    content: '-';
}

.faq-item summary.question:hover {
    background: #f5f5f5;
}

.faq-item .answer {
    padding: 0 1rem 1.5rem 1rem;
    color: var(--text-sub);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Footer */
footer {
    border-top: 2px solid #000;
    padding: 6rem 0;
    background: #f9f9f9;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 35px;
    width: auto;
}

.footer-links-group {
    display: flex;
    gap: 4rem;
}

.link-col h5 {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.link-col a {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.copyright {
    border-top: 1px solid #ddd;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: #999;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes gridScroll {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(60px);
    }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .site-header nav ul {
        gap: 1.5rem;
    }

    .site-header nav a {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 5vw, 4.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .concept-text h3 {
        font-size: 1.8rem;
    }

    .feature-info {
        padding: 3rem;
    }

    .feature-visual {
        min-height: 400px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    /* Header */
    .site-header {
        padding: 1rem 5vw;
    }

    .site-header nav {
        display: none;
    }

    .logo {
        font-size: 1.2rem;
    }

    .btn-header {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    /* Hero - モバイルレスポンシブ対応 */
    .hero {
        min-height: 100svh; /* svh: 画面サイズに合わせて調整 */
        height: 100svh;
        padding-top: 80px;
        padding-bottom: 40px;
        display: flex;
        align-items: center;
    }

    .hero-content {
        padding: 0 5vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-label {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 1.5rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .hero-subtitle .subtitle-line {
        display: block;
        margin-bottom: 0.6rem;
    }

    .hero-subtitle .subtitle-line:last-child {
        margin-bottom: 0;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Ticker */
    .ticker-wrap {
        padding: 0.8rem 0;
    }

    .ticker__item {
        font-size: 0.8rem;
        padding: 0 1.5rem;
    }

    /* Sections */
    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 5vw;
    }

    .section-header {
        flex-direction: column;
        margin-bottom: 2.5rem;
        padding-bottom: 1.5rem;
    }

    .section-number {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
        margin-top: 0;
    }

    /* Concept */
    .concept-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .concept-text h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .concept-text h3 br {
        display: none;
    }

    .concept-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-item .num {
        font-size: 2rem;
    }

    .stat-item .desc {
        font-size: 0.8rem;
    }

    /* Unlimited Section - Mobile */
    .unlimited-section {
        padding: 4rem 0;
    }

    .unlimited-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .unlimited-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .unlimited-desc {
        font-size: 0.95rem;
    }

    .unlimited-desc br {
        display: none;
    }

    .unlimited-comparison {
        flex-direction: column;
        gap: 1rem;
    }

    .comparison-item {
        padding: 1.5rem;
        width: 100%;
    }

    .comparison-value {
        font-size: 1.5rem;
    }

    .comparison-vs {
        font-size: 1rem;
    }

    .unlimited-benefits {
        grid-template-columns: 1fr;
    }

    /* Features */
    .feature-row {
        grid-template-columns: 1fr;
    }

    .feature-info {
        padding: 2rem 5vw;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .feature-info h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .feature-desc {
        font-size: 0.9rem;
    }

    .feature-specs {
        font-size: 0.85rem;
    }

    .feature-specs li {
        margin-bottom: 0.5rem;
    }

    .feature-row.reverse .feature-info {
        border-left: none;
        order: 0;
    }

    .feature-visual {
        min-height: 250px;
    }

    .visual-box {
        font-size: 0.9rem;
    }

    /* Details Toggle Mobile */
    .feature-details,
    .step-details,
    .security-details {
        margin-top: 1rem;
    }

    .feature-details summary,
    .step-details summary,
    .security-details summary {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .details-content {
        padding: 0.8rem 1rem 1rem;
        font-size: 0.75rem;
        line-height: 1.6;
    }

    .details-content li {
        padding: 0.4rem 0;
        padding-left: 1.2rem;
    }

    /* Visual Break */
    .visual-break-large {
        height: auto;
        min-height: 60vh;
        padding: 4rem 5vw;
    }

    .break-subtitle {
        font-size: 0.7rem;
    }

    .break-title {
        font-size: 10vw;
    }

    .break-desc {
        font-size: 0.85rem;
        padding: 0 1rem;
        white-space: normal;
    }

    /* Workflow */
    .workflow-steps {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 2rem 5vw;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .step-card:last-child {
        border-bottom: none;
    }

    .step-num {
        margin-bottom: 1rem;
    }

    .step-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .step-card p {
        font-size: 0.85rem;
    }

    /* Architecture */
    .arch-details {
        grid-template-columns: 1fr;
    }

    .arch-text h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .arch-text p {
        font-size: 0.9rem;
    }

    .tech-list li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .arch-diagram-container {
        padding: 1.5rem;
        flex-direction: column;
        gap: 0.8rem;
    }

    .diagram-box {
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
        flex: none;
    }

    .diagram-box.app {
        flex: none;
    }

    .diagram-box .box-title {
        font-size: 0.8rem;
    }

    .diagram-box .inner-box {
        font-size: 0.7rem;
    }

    .diagram-arrow {
        transform: rotate(90deg);
        margin: 0.3rem 0;
        font-size: 1rem;
    }

    /* Security */
    .security-grid {
        grid-template-columns: 1fr;
        gap: 0;
        border: 1px solid var(--border-color);
    }

    .security-card {
        padding: 2rem 1.5rem;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .security-card:last-child {
        border-bottom: none;
    }

    .security-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    .security-card h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .security-card p {
        font-size: 0.85rem;
    }

    /* Pricing */
    .pricing-banner {
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
        gap: 1rem;
    }

    .banner-content {
        min-width: auto;
    }

    .banner-features {
        justify-content: center;
        min-width: auto;
    }

    .enterprise-banner .btn-outline {
        margin: 0 auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
    }

    .pricing-card {
        box-shadow: 4px 4px 0 rgba(0, 0, 0, 1);
    }

    .pricing-card.featured {
        transform: none;
        box-shadow: 4px 4px 0 var(--accent-color);
    }

    .card-header {
        padding: 1.5rem 1rem;
    }

    .card-header h3 {
        font-size: 1rem;
    }

    .card-header .price {
        font-size: 1.4rem;
    }

    .card-body {
        padding: 1rem;
    }

    .feature-check-list li {
        font-size: 0.8rem;
        padding: 0.6rem 0;
    }

    .pricing-notes {
        margin-top: 2rem;
    }

    .pricing-notes .disclaimer {
        font-size: 0.75rem;
        text-align: left;
    }

    .feature-check-list li {
        font-size: 0.85rem;
        padding: 0.8rem 0;
    }

    .disclaimer {
        font-size: 0.75rem;
    }

    /* FAQ */
    .faq-item summary.question {
        padding: 1rem 0.8rem;
        font-size: 0.95rem;
    }

    .faq-item summary.question::after {
        font-size: 1.2rem;
    }

    .faq-item .answer {
        padding: 0 0.8rem 1rem 0.8rem;
        font-size: 0.85rem;
    }

    /* Details Content - Mobile */
    .feature-details,
    .step-details,
    .security-details {
        margin-top: 1rem;
    }

    .feature-details summary,
    .step-details summary,
    .security-details summary {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .feature-details summary::before,
    .step-details summary::before,
    .security-details summary::before {
        width: 16px;
        height: 16px;
        font-size: 0.75rem;
    }

    .details-content {
        padding: 0.8rem 1rem 1rem;
        font-size: 0.8rem;
        line-height: 1.7;
    }

    .details-content li {
        padding: 0.4rem 0;
        padding-left: 1.2rem;
        word-break: break-word;
    }

    .details-content li::before {
        top: 0.75rem;
        width: 5px;
        height: 5px;
    }

    /* CTA Footer */
    .cta-footer h2 {
        font-size: 1.5rem;
    }

    .cta-footer p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .footer-cta-btns {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-outline {
        width: 100%;
        text-align: center;
    }

    /* Footer */
    footer {
        padding: 3rem 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-links-group {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .link-col {
        min-width: 45%;
    }

    .link-col h5 {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .link-col a {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .copyright {
        font-size: 0.7rem;
        padding-top: 1.5rem;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .concept-text h3 {
        font-size: 1.2rem;
    }

    .feature-info h3 {
        font-size: 1.1rem;
    }

    .break-title {
        font-size: 12vw;
    }

    .price {
        font-size: 1.8rem;
    }

    .pricing-banner {
        padding: 1rem;
    }

    .banner-content h3 {
        font-size: 1.1rem;
    }

    .banner-price .price-value {
        font-size: 1.5rem;
    }

    .banner-features span {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .cta-footer h2 {
        font-size: 1.3rem;
    }
}

/* ============================================
   ADVANCED ANIMATIONS
   ============================================ */

/* Base Animation States */
.anim-slide-left,
.anim-slide-right,
.anim-fade-up,
.anim-scale-in,
.anim-pop-in,
.anim-clip-reveal {
    opacity: 0;
    will-change: transform, opacity;
}

/* Slide from Left */
.anim-slide-left {
    transform: translateX(-60px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-slide-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from Right */
.anim-slide-right {
    transform: translateX(60px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-slide-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Fade Up */
.anim-fade-up {
    transform: translateY(40px);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Scale In */
.anim-scale-in {
    transform: scale(0.9);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.6s ease-out;
}

.anim-scale-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Pop In (with bounce) */
.anim-pop-in {
    transform: scale(0.8) translateY(20px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s ease-out;
}

.anim-pop-in.animate-in {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Clip Reveal */
.anim-clip-reveal {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
    transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-clip-reveal.revealed {
    clip-path: inset(0 0 0 0);
}

/* Stagger Children */
.stagger-child {
    opacity: 0;
}

.stagger-child.animate-in {
    animation: staggerFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes staggerFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Hide/Show Animation */
.site-header {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

/* Hero Glitch Effect */
.hero-title {
    position: relative;
}

.hero-title.glitch-active {
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.hero-title.glitch-active::before,
.hero-title.glitch-active::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-title.glitch-active::before {
    animation: glitchTop 0.3s linear infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.hero-title.glitch-active::after {
    animation: glitchBottom 0.3s linear infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitchTop {
    0% { transform: translate(0); }
    50% { transform: translate(-3px, 0); filter: hue-rotate(90deg); }
    100% { transform: translate(0); }
}

@keyframes glitchBottom {
    0% { transform: translate(0); }
    50% { transform: translate(3px, 0); filter: hue-rotate(-90deg); }
    100% { transform: translate(0); }
}

/* Ripple Effect */
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Text Scramble */
.scramble-char {
    color: var(--accent-color);
    font-weight: 400;
}

/* Card Hover Glow */
.pricing-card,
.security-card,
.step-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
}

.pricing-card:hover {
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 1),
                0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
    box-shadow: 8px 8px 0 var(--accent-color),
                0 20px 40px rgba(0, 51, 255, 0.2);
}

/* Feature Visual Zoom */
.feature-visual {
    overflow: hidden;
}

.feature-img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-row:hover .feature-img {
    transform: scale(1.05);
}

/* Floating Animation for Decorative Elements */
@keyframes floatSmooth {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-15px) rotate(0.5deg);
    }
}

/* Pulse Glow for Accent Elements */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 51, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(0, 51, 255, 0);
    }
}

.hero-label {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Underline Reveal for Links */
.site-header nav a,
.link-col a {
    position: relative;
}

.site-header nav a::after,
.link-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header nav a:hover::after,
.link-col a:hover::after {
    width: 100%;
}

/* Section Divider Animation */
section::after {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

section:hover::after {
    transform: translate(-50%, 50%) rotate(225deg);
}

/* Diagram Box Hover */
.diagram-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diagram-box:hover {
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 1);
}

.diagram-box.app:hover {
    box-shadow: 5px 5px 0 var(--accent-color);
}

/* Security Icon Pulse */
.security-icon {
    transition: transform 0.3s ease;
}

.security-card:hover .security-icon {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* FAQ Open Animation */
.faq-item .answer {
    animation: fadeSlideDown 0.3s ease-out;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Number Glow */
.stat-item .num {
    transition: text-shadow 0.3s ease;
}

.stat-item:hover .num {
    text-shadow: 0 0 30px rgba(0, 51, 255, 0.5);
}

/* Step Number Spin */
.step-num {
    transition: transform 0.4s ease, background 0.3s ease;
}

.step-card:hover .step-num {
    transform: rotate(360deg);
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

/* Visual Break Parallax Text */
.break-title {
    transition: letter-spacing 0.5s ease;
}

.visual-break-large:hover .break-title {
    letter-spacing: 0.02em;
}

/* Ticker Pause on Hover */
.ticker-wrap:hover .ticker {
    animation-play-state: paused;
}

/* Button Arrow Animation */
.btn-primary .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
    transform: translateX(5px);
}

/* Logo Hover */
.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Footer Logo Glow */
.footer-logo:hover {
    filter: drop-shadow(0 0 10px rgba(0, 51, 255, 0.3));
}

/* Page Load Animation */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* Preloader (optional) */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Smooth Scroll Hint */
@keyframes scrollHint {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* Mobile Touch Feedback */
@media (hover: none) {
    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.98);
    }

    .pricing-card:active,
    .security-card:active,
    .step-card:active {
        transform: scale(0.98);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ticker {
        animation: none;
    }

    .anim-slide-left,
    .anim-slide-right,
    .anim-fade-up,
    .anim-scale-in,
    .anim-pop-in {
        opacity: 1;
        transform: none;
    }
}

/* Legacy Scroll Animations (kept for compatibility) */
.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.fade-section.in-view {
    opacity: 1;
    transform: translateY(0);
}