/* 
   --------------------------------------------------------
   Config Variables 
   --------------------------------------------------------
   Changing these colors allows for easy adaptation to other industries.
*/
:root {
    /* Colors */
    --color-primary: #1a1f3c;
    /* Deep Navy */
    --color-primary-light: #2d3559;
    --color-accent: #c4a06d;
    /* Muted Gold/Bronze */
    --color-accent-glow: #e6c89c;
    --color-bg-light: #f8f9fa;
    --color-bg-white: #ffffff;
    --color-bg-dark: #121420;
    --color-text-main: #333333;
    --color-text-light: #666666;
    --color-text-white: #eeeeee;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Fonts */
    --font-heading: 'Noto Sans JP', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --font-number: 'Inter', sans-serif;

    /* UI */
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 20px rgba(196, 160, 109, 0.4);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* 
   --------------------------------------------------------
   Utilities 
   --------------------------------------------------------
*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.text-white {
    color: var(--color-text-white) !important;
}

.text-primary {
    color: var(--color-primary);
}

.text-gray {
    color: var(--color-text-light);
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 4rem;
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.col-2 {
    grid-template-columns: 1fr;
}

.col-3-2 {
    grid-template-columns: 1fr;
}

/* Mobile default */

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

    .col-3-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    /* Span logic for 5 items can be handled by just letting them flow or using specific grid span classes if needed */
}

/* 
   --------------------------------------------------------
   Components 
   --------------------------------------------------------
*/

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 31, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 31, 60, 0.4);
}

.btn.sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn.lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.glow-effect {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(196, 160, 109, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(196, 160, 109, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(196, 160, 109, 0);
    }
}

/* Glass Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* 
   --------------------------------------------------------
   Sections 
   --------------------------------------------------------
*/

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.2rem;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: -0.05em;
}

.nav {
    display: none;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .nav a:not(.btn) {
        font-size: 0.9rem;
        font-weight: 500;
    }
}

/* Hero */
.hero {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, #f0f2f5 0%, #e6e9f0 100%);
    overflow: hidden;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tagline {
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(196, 160, 109, 0.1);
    border-radius: 20px;
}

.hero-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.hero-title .highlight {
    background: linear-gradient(120deg, transparent 60%, var(--color-accent-glow) 60%);
}

.hero-desc {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(196, 160, 109, 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 180px;
        padding-bottom: 120px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-desc {
        font-size: 1.2rem;
    }
}

/* Problem */
.section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.problem .card {
    padding: 2rem;
    border-left: 4px solid var(--color-accent);
}

.problem .card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(196, 160, 109, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: inline-block;
}

/* Solution (Dark) */
.bg-dark {
    background-color: var(--color-bg-dark);
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Benefits */
.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-number {
    font-family: var(--font-number);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(196, 160, 109, 0.2);
    position: absolute;
    top: -10px;
    right: 10px;
}

.benefit-content h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    padding-right: 2rem;
}

.before-after {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .before-after {
        flex-direction: row;
        justify-content: space-around;
    }
}

.badge {
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.badge-bad {
    background: #e74c3c;
}

.badge-good {
    background: #27ae60;
}

.arrow {
    font-size: 2rem;
    color: var(--color-accent);
}

/* Pricing */
.pricing-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--color-accent);
}

.price {
    font-family: var(--font-number);
    margin: 1.5rem 0;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-accent);
}

.range {
    font-size: 2rem;
}

.limit {
    font-size: 1rem;
    color: #aaa;
}

.highlight-yellow {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Privacy Pledge */
.privacy-pledge {
    background: rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.8rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pledge-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 2px;
}

.pledge-list {
    list-style-type: disc;
    padding-left: 1.2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.pledge-list li {
    margin-bottom: 0.3rem;
}

.pledge-footer {
    font-weight: 600;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem;
}

.text-link {
    color: var(--color-primary);
    text-decoration: underline;
}

.text-link:hover {
    color: var(--color-accent);
}

/* Requirements */
.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--color-text-main);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Tech Tags */
.tech-tag {
    display: inline-block;
    background: white;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    border-radius: 20px;
    font-weight: 500;
    color: var(--color-primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Footer */
.footer {
    background: var(--color-bg-dark);
    color: #666;
    padding: 2rem 0;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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