/* Hodoki Static Site - CSS */

/* ============================================
   CSS Variables (Design System)
   ============================================ */
:root {
    /* Colors - HSL */
    --background: 217, 65%, 7%;
    --foreground: 210, 40%, 98%;
    --card: 217, 55%, 12%;
    --card-foreground: 210, 40%, 98%;
    --primary: 199, 100%, 47%;
    --primary-foreground: 0, 0%, 100%;
    --secondary: 187, 73%, 54%;
    --secondary-foreground: 217, 65%, 7%;
    --muted: 217, 45%, 18%;
    --muted-foreground: 210, 20%, 70%;
    --border: 217, 40%, 20%;
    --input: 217, 40%, 20%;
    --ring: 199, 100%, 47%;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    
    /* Shadows */
    --shadow-glow: 0 0 40px hsla(var(--primary), 0.3);
    --shadow-card: 0 10px 30px -10px hsla(var(--primary), 0.2);
    
    /* Border Radius */
    --radius: 0.75rem;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: hsl(var(--primary));
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: hsl(var(--secondary));
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.hidden {
    display: none !important;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-gradient {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-card);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-ghost {
    background: transparent;
    color: hsl(var(--foreground));
}

.btn-ghost:hover {
    background: hsla(var(--muted), 0.5);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-xl {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.btn-full {
    width: 100%;
}

.btn .arrow-icon {
    transition: transform 0.3s ease;
}

.btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsla(var(--background), 0.8);
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.navbar-scrolled {
    background: hsla(var(--background), 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(var(--border), 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 768px) {
    .navbar-container {
        height: 5rem;
    }
}

.logo-btn {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.logo-btn:hover {
    opacity: 0.8;
}

.logo {
    height: 2.5rem;
    width: auto;
}

@media (min-width: 768px) {
    .logo {
        height: 3rem;
    }
}

.nav-links {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links button,
.nav-links a {
    padding: 0.5rem 1rem;
    color: hsla(var(--foreground), 0.8);
    border-radius: 0.5rem;
    transition: var(--transition-smooth);
    font-size: 0.875rem;
    text-decoration: none;
}

.nav-links button:hover,
.nav-links a:hover {
    color: hsl(var(--foreground));
    background: hsla(var(--muted), 0.5);
}

.nav-links .btn-gradient {
    margin-left: 0.5rem;
    color: hsl(var(--primary-foreground));
}

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    color: hsl(var(--foreground));
    border-radius: 0.5rem;
    transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
    background: hsla(var(--muted), 0.5);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background: hsla(var(--background), 0.98);
    backdrop-filter: blur(12px);
}

.mobile-menu button,
.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    transition: color 0.3s ease;
    text-decoration: none;
}

.mobile-menu button:hover,
.mobile-menu a:hover {
    color: hsl(var(--primary));
}

.mobile-menu .btn-gradient {
    margin-top: 1rem;
    color: hsl(var(--primary-foreground));
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 4rem;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, hsla(var(--primary), 0.1), transparent);
    opacity: 0.5;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    animation: pulse 4s ease-in-out infinite;
}

.hero-orb-1 {
    top: 5rem;
    right: 5rem;
    width: 24rem;
    height: 24rem;
    background: hsla(var(--primary), 0.2);
}

.hero-orb-2 {
    bottom: 5rem;
    left: 5rem;
    width: 24rem;
    height: 24rem;
    background: hsla(var(--secondary), 0.2);
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    padding: 5rem 1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 48rem;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-cta {
    padding-top: 1rem;
}

.benefits-grid {
    display: grid;
    gap: 1.5rem;
    padding-top: 3rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
}

.benefit-item p {
    color: hsla(var(--foreground), 0.9);
}

.check-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.check-icon.primary {
    color: hsl(var(--primary));
}

.check-icon.secondary {
    color: hsl(var(--secondary));
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 0.7s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    position: relative;
    padding: 5rem 0 8rem;
}

.section-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, hsl(var(--background)), hsl(var(--card)), hsl(var(--background)));
}

.services-section .container {
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    padding: 2rem;
    background: hsl(var(--card));
    border: 1px solid hsla(var(--border), 0.5);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: hsla(var(--primary), 0.5);
    box-shadow: 0 0 30px hsla(var(--primary), 0.2);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    color: white;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.gradient-1 {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
}

.gradient-2 {
    background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--primary)));
}

.gradient-3 {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)), hsl(var(--primary)));
}

.service-card h3 {
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.service-card p {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

/* ============================================
   Why Section
   ============================================ */
.why-section {
    padding: 5rem 0 8rem;
}

.benefits-cards {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .benefits-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: hsla(var(--card), 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid hsla(var(--border), 0.5);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    background: hsl(var(--card));
    border-color: hsla(var(--primary), 0.3);
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.benefit-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.benefit-content p {
    color: hsl(var(--muted-foreground));
}

/* ============================================
   Details Section
   ============================================ */
.details-section {
    padding: 5rem 0 8rem;
    background: hsla(var(--card), 0.3);
}

.details-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .details-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.detail-card {
    padding: 2rem;
    background: hsla(var(--background), 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid hsla(var(--border), 0.5);
    border-radius: var(--radius);
}

.detail-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
}

.detail-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: hsl(var(--muted-foreground));
}

.bullet {
    margin-top: 0.25rem;
    font-size: 1.25rem;
    line-height: 1;
}

.bullet.primary {
    color: hsl(var(--primary));
}

.bullet.secondary {
    color: hsl(var(--secondary));
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    position: relative;
    padding: 5rem 0 8rem;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, hsl(var(--background)), hsla(var(--card), 0.5), hsl(var(--background)));
}

.contact-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 37.5rem;
    height: 37.5rem;
    background: hsla(var(--primary), 0.1);
    border-radius: 50%;
    filter: blur(64px);
}

.contact-section .container {
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    padding: 2rem;
    background: hsla(var(--card), 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid hsla(var(--border), 0.5);
    border-radius: var(--radius);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.contact-item a {
    font-size: 1.125rem;
}

.contact-item p {
    color: hsl(var(--muted-foreground));
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flag {
    font-size: 1.5rem;
}

.copy-btn {
    margin-top: 0.5rem;
}

.copy-icon, .check-icon-sm {
    width: 1rem;
    height: 1rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: hsla(var(--background), 0.5);
    border: 1px solid hsl(var(--input));
    border-radius: var(--radius);
    color: hsl(var(--foreground));
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: hsl(var(--muted-foreground));
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 2px hsla(var(--ring), 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 7.5rem;
}

.form-privacy {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
}

.form-privacy a {
    text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 3rem 0;
    border-top: 1px solid hsla(var(--border), 0.5);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-info {
        align-items: flex-end;
        text-align: right;
    }
}

.copyright {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.footer-info a {
    font-size: 0.875rem;
}

.privacy-link {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.privacy-link:hover {
    color: hsl(var(--primary));
}

/* ============================================
   Privacy Policy Page
   ============================================ */
.privacy-page {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .privacy-page {
        padding-top: 8rem;
    }
}

.privacy-content {
    max-width: 56rem;
    margin: 0 auto;
}

.back-btn {
    margin-bottom: 2rem;
}

.privacy-content h1 {
    margin-bottom: 2rem;
}

.policy-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.policy-sections section h2 {
    font-size: 1.5rem;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.policy-sections section p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.policy-sections section ul {
    list-style: disc;
    margin-left: 1.5rem;
    color: hsl(var(--muted-foreground));
}

.policy-sections section ul li {
    margin-bottom: 0.5rem;
}

.policy-sections section strong {
    color: hsl(var(--foreground));
}

/* ============================================
   Toast Notification
   ============================================ */
.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    padding: 1rem 1.5rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.3s ease;
}

.toast-title {
    display: block;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.toast-message {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Utilities
   ============================================ */
@media (max-width: 767px) {
    .hero-orb {
        width: 16rem;
        height: 16rem;
    }
    
    .hero-orb-1 {
        top: 2rem;
        right: -4rem;
    }
    
    .hero-orb-2 {
        bottom: 2rem;
        left: -4rem;
    }
}