:root {
    /* Enhanced Color Palette */
    --primary: #6366f1;
    --primary-rgb: 99, 102, 241;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --secondary-rgb: 236, 72, 153;
    --accent: #06b6d4;
    --accent-rgb: 6, 182, 212;
    
    /* Neutral Colors */
    --text: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Layout */
    --max-width: 1200px;
    --font-heading: "Outfit", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text);
    /* アニメーションとの競合を避けるためグラデーション文字を廃止 */
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 25px auto;
    border-radius: 2px;
    position: relative;
}

.divider::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    filter: blur(8px);
    opacity: 0.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Enhanced Button Styles */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-base);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-base);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: translateY(-1px);
}

/* Header with Glassmorphism */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-base);
}

header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
}

.brand img {
    height: 42px;
    margin-right: 10px;
    transition: var(--transition-base);
}

.brand:hover img {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

nav li {
    position: relative;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    padding: 8px 16px;
    border-radius: 30px;
    transition: var(--transition-base);
}

nav a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

/* Nav Separator */
.nav-separator {
    width: 1px;
    height: 20px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.15), transparent);
    align-self: center;
    margin: 0 4px;
}

/* Page Links (external pages) - subtle accent */
.nav-page-link {
    background: rgba(99, 102, 241, 0.06) !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
}

.nav-page-link:hover {
    background: rgba(99, 102, 241, 0.15) !important;
    color: var(--primary-dark) !important;
}

/* Contact CTA in nav */
.nav-cta-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.nav-cta-link:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

/* Hero Section - Enhanced */
.hero {
    height: 100vh;
    min-height: 700px;
    background: url('../img/bk.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgb(241 231 99 / 30%) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    margin-bottom: 25px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 20px;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.6;
}

.hero-desc {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 750px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.hero-desc p {
    margin-bottom: 10px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section with Enhanced Profile Card */
.about {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.location-box {
    padding: 30px 40px;
    background: var(--bg);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.location-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Representative Profile Card */
.profile-card {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    padding: 50px;
    background: var(--bg);
    border-radius: 24px;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.profile-card img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid var(--bg);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 4px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: var(--transition-base);
}

.profile-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Services Section - Premium Style */
.services {
    padding: 140px 0;
    background: var(--bg);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.service-list {
    max-width: 1100px;
    margin: 80px auto 0;
    display: flex;
    flex-direction: column;
    gap: 140px;
    position: relative;
}

.service-item {
    background: transparent;
    padding: 0;
    border: none;
    position: relative;
}

.service-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.service-body {
    flex: 1;
}

.service-body > span:first-child {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 25px;
}

.service-visual {
    flex: 1;
    position: relative;
    line-height: 0;
}

.service-item h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1.3;
}

.service-item .service-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.9;
}

.service-item ul {
    list-style: none;
    margin: 0 0 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-item ul li {
    padding-left: 35px;
    font-size: 1.05rem;
    color: var(--text);
    position: relative;
    line-height: 1.6;
}

.service-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

.service-item .btn {
    padding: 16px 40px;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
}

.service-visual img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-slow);
}

.service-visual:hover img {
    transform: scale(1.02);
}

.visual-accent-box {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 35px;
    z-index: 2;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

/* Works Section */
.works {
    padding: 120px 0;
    background: var(--bg);
}

.works-list article {
    background: var(--bg-alt);
    padding: 35px;
    border-radius: 16px;
    border-left: 4px solid transparent;
    border-image: linear-gradient(to bottom, var(--primary), var(--secondary)) 1;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.works-list article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(236, 72, 153, 0.02) 100%);
    opacity: 0;
    transition: var(--transition-base);
}

.works-list article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.works-list article:hover::before {
    opacity: 1;
}

.works-list article h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text);
}

.works-list article p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Light Works Grid */
.light-works-grid {
    margin-top: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.light-works-grid h3 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 15px;
    color: var(--text-light);
}

.light-works-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.light-works-list > div {
    background: var(--bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-base);
}

.light-works-list > div:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.2);
}

.light-works-list h4 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text);
}

.light-works-list p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Section - Enhanced with Glassmorphism */
.faq {
    background: linear-gradient(135deg, var(--bg-alt) 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.faq::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.faq-category h3 {
    color: var(--text);
    border-left: 4px solid;
    border-image: linear-gradient(to bottom, var(--primary), var(--secondary)) 1;
    padding-left: 20px;
    font-size: 1.5rem !important;
    margin-bottom: 10px;
}

.faq-item {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow-md) !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-base);
    position: relative;
    z-index: 1;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl) !important;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary) !important;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* CTA Strip - Premium Gradient */
.cta-strip {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #7c3aed 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-strip::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='%23ffffff' 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;
}

.cta-strip .container {
    position: relative;
    z-index: 1;
}

.cta-strip h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 25px;
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.cta-strip p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.cta-strip .btn {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-strip .btn:hover {
    background: var(--bg-alt);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cta-strip .btn::before {
    display: none;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form-wrapper .btn {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
    font-size: 1.1rem;
}

.privacy-notice {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

.privacy-notice a {
    color: var(--primary-light);
    text-decoration: underline;
}

.privacy-notice a:hover {
    color: #fff;
}

/* Footer - Dark Theme */
footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: #94a3b8;
    padding: 80px 0 50px;
    text-align: center;
}

footer .section-head h2 {
    -webkit-text-fill-color: #fff;
    color: #fff;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px !important;
    padding: 40px !important;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff;
    padding: 15px !important;
    border-radius: 10px !important;
    transition: var(--transition-base);
}

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
    color: #94a3b8;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

footer .footer-links a {
    color: #94a3b8;
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
}

footer .footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-base);
}

footer .footer-links a:hover {
    color: #fff;
}

footer .footer-links a:hover::after {
    width: 100%;
}

.contact-info {
    margin-top: 30px;
}

.contact-info p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

/* Industry Badges */
.industry-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-alt) 0%, #e2e8f0 100%);
    color: var(--text);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.industry-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Trust Signals in Footer */
.trust-signal {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.trust-signal:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 860px) {
    .service-flex {
        flex-direction: column !important;
        gap: 40px;
    }
    
    .service-visual {
        width: 100%;
        max-width: 100%;
    }
    
    .profile-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    
    .profile-card img {
        margin: 0 auto 20px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 8px;
    }
    
    nav {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    nav::-webkit-scrollbar {
        display: none;
    }
    
    nav ul {
        display: flex;
        justify-content: center;
        gap: 4px;
        padding: 0 4px;
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    
    nav a {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .nav-separator {
        display: none;
    }
    
    .nav-cta-link {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .service-list {
        gap: 80px;
    }
    
    .visual-accent-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        border-radius: 12px;
    }
    
    footer .footer-links {
        gap: 15px;
    }
}

/* Text Reveal Animation */
.animate-text {
    display: inline-block;
    overflow: visible;
}

.animate-text span {
    opacity: 0;
    display: inline-block;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), 
                transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.animate-text.is-visible span {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scroll Indicator */
@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Hover Glow Effect */
.glow-on-hover {
    transition: var(--transition-base);
}

.glow-on-hover:hover {
    box-shadow: var(--shadow-xl), 0 0 40px rgba(99, 102, 241, 0.2);
}

/* Selection Color */
::selection {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
