/* ========================================
   Pum Website Styles
   Jony Ive meets Star Wars Medical Droid
   ======================================== */

:root {
    /* Primary Brand Colors */
    --pum-pink: rgb(255, 92, 147);
    --pum-pink-dark: rgb(214, 51, 132);
    --pum-background: rgb(255, 240, 245);
    --pum-pink-light: rgb(255, 182, 210);
    --pum-pink-glow: rgba(255, 92, 147, 0.4);

    /* Accent Colors */
    --pastel-red: rgb(255, 71, 126);
    --pastel-pink: rgb(255, 140, 180);
    --pastel-green: rgb(64, 224, 178);
    --pastel-blue: rgb(100, 181, 246);
    --pastel-rose: rgb(255, 107, 153);
    --pastel-purple: rgb(186, 104, 255);
    --pastel-cyan: rgb(0, 230, 230);
    --pastel-gray: rgb(200, 200, 210);

    /* Typography */
    --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-system);
    background: var(--pum-background);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3 {
    font-weight: 300;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

a {
    color: var(--pum-pink-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--pum-pink);
}

/* ========================================
   Navigation
   ======================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 240, 245, 0.72);
    border-bottom: 1px solid rgba(255, 182, 210, 0.3);
}

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

nav .logo {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--pum-pink-dark);
    letter-spacing: -0.02em;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: #333;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--pum-pink);
}

/* ========================================
   Glass Card Component
   ======================================== */

.glass-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 182, 210, 0.3);
    padding: 2.5rem;
    box-shadow:
        0 8px 32px rgba(255, 92, 147, 0.1),
        0 2px 8px rgba(255, 92, 147, 0.05);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 48px rgba(255, 92, 147, 0.15),
        0 4px 16px rgba(255, 92, 147, 0.08);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pum-pink) 0%, var(--pum-pink-dark) 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(255, 92, 147, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 92, 147, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    color: var(--pum-pink-dark);
    border: 1px solid rgba(255, 182, 210, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--pum-pink-light);
}

/* ========================================
   Forms
   ======================================== */

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

label {
    font-weight: 400;
    font-size: 0.95rem;
    color: #555;
}

input, textarea {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-system);
    border-radius: 16px;
    border: 1px solid rgba(255, 182, 210, 0.4);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--pum-pink);
    box-shadow: 0 0 0 3px rgba(255, 92, 147, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.form-message {
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    text-align: center;
    margin-top: 1rem;
}

.form-message.success {
    background: rgba(64, 224, 178, 0.15);
    color: #0a8;
    border: 1px solid rgba(64, 224, 178, 0.3);
}

.form-message.error {
    background: rgba(255, 71, 126, 0.15);
    color: #c33;
    border: 1px solid rgba(255, 71, 126, 0.3);
}

/* ========================================
   Layout Containers
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    background: linear-gradient(135deg, var(--pum-pink-dark) 0%, var(--pum-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: #666;
    margin-bottom: 2rem;
}

.hero .cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

section {
    padding: 6rem 2rem;
}

section.alt {
    background: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Geometric Background Elements
   ======================================== */

.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.shape.circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--pum-pink-light), transparent);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape.circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--pastel-purple), transparent);
    bottom: 15%;
    left: 15%;
    animation-delay: -7s;
}

.shape.triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid var(--pum-pink-glow);
    top: 50%;
    left: 5%;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

/* ========================================
   Feature Grid
   ======================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--pum-pink-light), var(--pastel-purple));
}

/* ========================================
   Footer
   ======================================== */

footer {
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 182, 210, 0.3);
}

footer .social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

footer .social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 182, 210, 0.3);
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }

    .hero .cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .glass-card {
        padding: 1.5rem;
    }
}
