/* ========================================
   BASE.CSS - 共通スタイル
   全ページで使用される基本スタイル
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.5;
    color: #101828;
    overflow-x: hidden;
}

.container {
    max-width: 1344px;
    margin: 0 auto;
    padding: 0 21px;
}

/* Typography */
h1 {
    font-size: 58px;
    font-weight: 400;
    line-height: 1.1;
}

h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
}

h3 {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

h4 {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

p {
    font-size: 14px;
    line-height: 1.5;
}

/* Buttons */
.btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border: none;
    border-radius: 7px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #9810FA 0%, #155DFC 100%);
    color: white;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-secondary-white {
    background: white;
    color: #101828;
    box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Header Navigation */
header {
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #101828;
    font-weight: 600;
    font-size: 20px;
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

header nav {
    display: flex;
    gap: 32px;
}

header nav a {
    text-decoration: none;
    color: #4A5565;
    font-size: 14px;
    transition: color 0.2s;
}

header nav a:hover {
    color: #101828;
}

header nav a.active {
    color: #9810FA;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #101828;
    color: white;
    padding: 42px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 56px;
}

.footer-brand {
    flex: 1;
    max-width: 392px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10.5px;
    margin-bottom: 14px;
}

.footer-app-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #101828 0%, #1E2939 50%, #000000 100%);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.footer-app-icon::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 7px;
    right: 7px;
    bottom: 7px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 50%, #F3F4F6 100%);
    border-radius: 8px;
}

.footer-app-icon .app-icon {
    width: 4.8px;
    height: 4.8px;
    position: relative;
    z-index: 1;
    object-fit: contain;
}

.footer-brand-name {
    font-size: 19px;
    color: white;
}

.footer-description {
    color: #99A1AF;
    margin-bottom: 14px;
}

.footer-copyright {
    font-size: 13px;
    color: #6A7282;
}

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

.footer-column h4 {
    color: white;
    margin-bottom: 14px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-column a {
    color: #99A1AF;
    text-decoration: none;
    font-size: 14px;
}

.footer-divider {
    height: 1px;
    background: #364153;
}

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

.footer-disclaimer p {
    color: #6A7282;
    font-size: 14px;
}

/* App Icon Rounded Style */
.app-mockup,
.design-mockup,
.cta-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon-rounded {
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: block;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

/* Footer specific app icon */
.footer-logo .app-icon-rounded {
    width: 40px;
    height: 40px;
    border-radius: 9px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #9810FA 0%, #155DFC 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
}

.page-header-content h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.page-header-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: #4A5565;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 48px;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 70px 0;
    background: linear-gradient(173deg, #101828 0%, #59168B 50%, #101828 100%);
    overflow: hidden;
}

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

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
}

.blur-purple {
    width: 252px;
    height: 252px;
    background: rgba(152, 16, 250, 0.2);
    top: 217px;
    left: 640px;
}

.blur-blue {
    width: 224px;
    height: 224px;
    background: rgba(21, 93, 252, 0.2);
    top: 211px;
    right: 640px;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 784px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 42px;
}

.cta-description {
    color: #D1D5DC;
    margin-bottom: 84px;
    max-width: 588px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
}

/* Responsive Styles - Common */
@media (max-width: 1280px) {
    .container {
        max-width: 100%;
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .app-icon-rounded {
        width: 96px;
        height: 96px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    header nav {
        gap: 16px;
    }
    
    .page-header-content h1 {
        font-size: 32px;
    }
    
    .page-header-content p {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .footer {
        padding: 32px 0;
    }
    
    .footer-links {
        gap: 24px;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .section-title,
    .section-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 375px) {
    .app-icon-rounded {
        width: 80px;
        height: 80px;
    }
}
