:root {
    --primary: #00a4d4;
    --primary-light: #4dd8ff;
    --primary-dark: #0089b0;
    --bg-dark: #0a0e14;
    --bg-light: #ffffff;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
}

.renewal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #d63031;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(255, 154, 158, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}


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

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: #f8fbff;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.hero-title .highlight {
    color: var(--primary);
    background: linear-gradient(120deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 15px 30px rgba(0, 180, 229, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Common Section */
.section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 164, 212, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

/* Usage Section - Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    margin: 80px auto;
}

.usage-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.usage-item {
    padding: 30px;
    border-left: 4px solid var(--primary);
    background: white;
    border-radius: 0 20px 20px 0;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.03);
}

.usage-item h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* Setup Steps */
.setup-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.step {
    flex: 1;
    min-width: 250px;
    background: #f0f7ff;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    border: 2px solid white;
}

.step-num {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-note {
    font-size: 0.85rem;
    color: #e67e22;
    margin-top: 12px;
}

/* Privacy */
.privacy-box {
    background: #ffffff;
    border: 2px solid #f0f7ff;
    border-radius: 24px;
    padding: 60px 40px;
}

.privacy-notice {
    background: #f0faff;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
    border-left: 6px solid var(--primary);
}

.privacy-notice p {
    color: var(--primary-dark);
    margin: 0;
}

.privacy-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

/* Setup Warning Box */
.setup-warning-box {
    margin-top: 40px;
    background: #fff8f0;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid #fee2e2;
}

.warning-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.warning-image {
    flex: 1;
}

.warning-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.warning-text {
    flex: 2;
}

.warning-text h3 {
    margin-bottom: 15px;
    color: #c2410c;
}

.warning-text p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .warning-flex {
        flex-direction: column;
        text-align: center;
    }
}

.privacy-content li {
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 164, 212, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Tutorial Section Styles */
.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tutorial-section {
    background: white;
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.tutorial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8fbff;
}

.tutorial-icon {
    font-size: 2.5rem;
    color: var(--primary);
    background: #f0f7ff;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tutorial-header h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.tutorial-steps {
    margin-bottom: 40px;
}

.step-detail {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 164, 212, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 20px;
}

.screenshot-placeholder {
    background: #f8fbff;
    border: 2px dashed #d0e8f2;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.screenshot-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: white;
    min-height: 200px;
    display: block;
    margin-bottom: 12px;
}

.screenshot-caption {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.screenshot-grid .screenshot-placeholder {
    margin: 0;
}

.screenshot-comparison {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.screenshot-before-after {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.screenshot-before-after .screenshot-placeholder {
    flex: 1;
    margin: 0;
}

.arrow-indicator {
    font-size: 2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.note-text {
    background: #e8f4fd;
    border-left: 4px solid var(--primary);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #0066cc;
    margin: 15px 0;
}

.tips-box {
    background: linear-gradient(135deg, #fff9e6 0%, #fef5e7 100%);
    border-left: 6px solid #f39c12;
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
}

.tips-box h4 {
    color: #e67e22;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tips-box ul {
    margin: 0;
    padding-left: 20px;
}

.tips-box li {
    color: #2d3436;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Responsive adjustments for tutorial */
@media (max-width: 992px) {
    .tutorial-section {
        padding: 40px 30px;
    }
    
    .tutorial-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .step-detail {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-number {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .tutorial-section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .tutorial-header h3 {
        font-size: 1.5rem;
    }
    
    .tutorial-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    .tips-box {
        padding: 20px;
    }
}

/* Footer */
footer {
    background: #f0f0f0;
    padding: 60px 24px 40px;
    text-align: center;
}

.footer-links {
    margin-bottom: 24px;
}

.footer-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-credit {
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-credit a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.footer-credit a:hover {
    text-decoration: underline;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .section-title {
        font-size: 2rem;
    }
}
