:root {
    --primary: #f857a6;
    --secondary: #ff5858;
    --accent: #ffc371;
    --bg-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-color: #333;
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-border: 1px solid rgba(255, 255, 255, 0.18);
    --font-main: 'Outfit', sans-serif;
    --font-jp: 'Zen Kaku Gothic New', sans-serif;
}

body[data-theme="blue"] {
    --primary: #4facfe;
    --secondary: #00f2fe;
}

body[data-theme="green"] {
    --primary: #43e97b;
    --secondary: #38f9d7;
}

body[data-theme="yellow"] {
    --primary: #fddb92;
    --secondary: #d1fdff;
}

body[data-theme="purple"] {
    --primary: #a18cd1;
    --secondary: #fbc2eb;
}

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

body {
    font-family: var(--font-jp);
    background: var(--bg-gradient);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Floating Shapes Background */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    filter: blur(50px);
    opacity: 0.6;
    animation: float 20s infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -50px;
    left: -50px;
    border-radius: 50%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    bottom: 100px;
    right: -50px;
    border-radius: 50%;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.color-switcher {
    display: flex;
    gap: 10px;
}

.color-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s;
}

.color-btn:hover {
    transform: scale(1.2);
}

.color-btn.pink {
    background: #f857a6;
}

.color-btn.blue {
    background: #4facfe;
}

.color-btn.green {
    background: #43e97b;
}

.color-btn.yellow {
    background: #fddb92;
}

.color-btn.purple {
    background: #a18cd1;
}

.language-switcher a {
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    margin-left: 10px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 20px 100px;
    text-align: center;
    overflow: hidden;
}

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

.app-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
    border: 4px solid white;
}

/* Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    background: white;
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button.primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cta-button.disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

/* Features */
.section {
    padding: 80px 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px) rotate(1deg);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.card h3 {
    margin-bottom: 1rem;
    color: #444;
}

/* Legal & Footer */
.legal-section {
    background: white;
    padding: 60px 20px;
    border-radius: 30px 30px 0 0;
    margin-top: 50px;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #444;
}

.legal-content p,
.legal-content li {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

footer {
    background: #fdfbfb;
    padding: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #999;
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-content {
        padding: 0 10px;
    }

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

/* Interaction: Hearts */
.heart {
    position: absolute;
    color: var(--primary);
    animation: fly 1s ease-out forwards;
    pointer-events: none;
    font-size: 20px;
}

@keyframes fly {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}