/* style.css - LP Design Lab */
:root {
    --bg-base: #060913;
    --bg-surface: #0f1629;
    --bg-glass: rgba(15, 22, 41, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --accent-blue: #00d2ff;
    --accent-purple: #3a7bd5;
    
    --font-heading: 'Inter', 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center { text-align: center; }

/* Utilities */
.section-padding {
    padding: 100px 0;
}
.mt-4 {
    margin-top: 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.glass-panel {
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 5%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(6,9,19,0.9) 0%, rgba(6,9,19,0) 100%);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.logo-light { font-weight: 400; color: var(--text-main); }
.logo-bold { font-weight: 700; color: var(--accent-blue); }

.btn-outline {
    border: 1px solid var(--border-glass);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255,255,255,0.03);
}

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

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: #fff;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(6,9,19,0.5) 0%, rgba(6,9,19,0.95) 100%);
    z-index: -1;
}

.hero-content {
    width: 100%;
}

.hero-text-wrapper {
    max-width: 850px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.hero-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.4;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    font-weight: 700;
    word-break: keep-all;     
    overflow-wrap: break-word; 
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.pc-only {
    display: inline;
}

/* Sections */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
    border-radius: 2px;
}

.section-header.text-center .section-line {
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}


/* Profile */
.profile {
    position: relative;
    z-index: 10;
    margin-top: -80px; 
}

.profile-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
    max-width: 950px;
}

@media (min-width: 768px) {
    .profile-card {
        flex-direction: row;
    }
}

.profile-image-wrap {
    flex: 1;
    position: relative;
    min-height: 250px;
}

.profile-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    object-position: left center;
}

.profile-img-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, transparent, var(--bg-surface));
    opacity: 0.8;
}

@media (max-width: 767px) {
    .profile-img-overlay {
        background: linear-gradient(to bottom, transparent, var(--bg-surface));
    }
}

.profile-info {
    flex: 1.5;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-blue);
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 1.6rem;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.profile-headline {
    color: var(--accent-blue);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.profile-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.8;
}

/* Features/Services */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 210, 255, 0.4);
    background: rgba(15, 22, 41, 0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid var(--border-glass);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* Portfolio Text Cards */
.portfolio-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.portfolio-text-card {
    display: flex;
    flex-direction: column;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    border-left: 3px solid var(--accent-blue);
    transition: var(--transition);
}

.portfolio-text-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.05), transparent);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.portfolio-text-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.portfolio-text-card:hover::before {
    opacity: 1;
}

.portfolio-text-card > * {
    position: relative;
    z-index: 1;
}

.portfolio-category {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 210, 255, 0.1);
    margin-bottom: 16px;
    align-self: flex-start;
}

.portfolio-client {
    font-size: 1.4rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.portfolio-outcome {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.highlight {
    color: var(--accent-blue);
    font-weight: bold;
    margin-right: 5px;
}

.portfolio-arrow {
    margin-top: 24px;
    align-self: flex-end;
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}

.portfolio-text-card:hover .portfolio-arrow {
    color: var(--accent-blue);
    transform: translateX(5px);
}


/* Philosophy & CTA */
.cta-inner {
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom right, rgba(15, 22, 41, 0.9), rgba(15, 22, 41, 0.4));
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.05) 0%, transparent 60%);
    z-index: -1;
}

.philosophy-box {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: left;
    background: rgba(0,0,0,0.2);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.philosophy-title {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-bottom: 12px;
    border-left: 3px solid var(--accent-blue);
    padding-left: 12px;
}

.philosophy-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.cta-divider {
    width: 100px;
    height: 1px;
    background: var(--border-glass);
    margin: 0 auto 50px;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}


/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-glass);
}

.footer-logo {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; line-height: 1.6; }
    .pc-only { display: none; }
    .section-padding { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
    
    .profile { margin-top: -40px; }
    .profile-info { padding: 30px 20px; }
    
    .portfolio-list { grid-template-columns: 1fr; }
    
    .cta-inner { padding: 40px 20px; }
    .philosophy-box { padding: 25px 20px; }
    .cta-title { font-size: 1.8rem; }
    .btn-primary { padding: 12px 24px; font-size: 1rem; width: 100%; justify-content: center; }
}
