@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
    /* Updated Professional Palette - Kidofy */
    --primary-color: #FF6B6B;      /* Warmer Red/Salmon */
    --secondary-color: #4ECDC4;    /* Teal/Turquoise */
    --accent-yellow: #FFE66D;      /* Soft Yellow */
    --accent-purple: #6C5CE7;      /* Rich Purple */
    --dark-text: #2D3436;
    --light-text: #FFFFFF;
    --bg-gradient-start: #F7F9FC;
    --bg-gradient-end: #E3F2FD;
    
    /* 3D / Claymorphism Shadows */
    --clay-shadow: 
        12px 12px 24px rgba(163, 177, 198, 0.6), 
        -12px -12px 24px rgba(255, 255, 255, 0.8);
    --clay-shadow-hover: 
        16px 16px 32px rgba(163, 177, 198, 0.7), 
        -16px -16px 32px rgba(255, 255, 255, 0.9);
    --clay-inset: 
        inset 6px 6px 12px rgba(163, 177, 198, 0.4), 
        inset -6px -6px 12px rgba(255, 255, 255, 0.8);
        
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Nunito', sans-serif; /* More modern, readable rounded font */
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: var(--dark-text);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* 3D Components */
.clay-card {
    background: var(--bg-gradient-start);
    border-radius: 30px;
    box-shadow: var(--clay-shadow);
    border: var(--glass-border);
    transition: all 0.4s ease;
    padding: 40px;
}

.clay-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--clay-shadow-hover);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    box-shadow: 
        0 10px 20px rgba(255, 107, 107, 0.3),
        inset 0 -5px 0 rgba(0,0,0,0.1); /* Inner bottom lip */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:active {
    transform: translateY(4px);
    box-shadow: 
        0 4px 10px rgba(255, 107, 107, 0.3),
        inset 0 2px 0 rgba(0,0,0,0.1);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    background: var(--accent-purple);
    border: none;
    border-radius: 50px;
    box-shadow: 
        0 10px 20px rgba(108, 92, 231, 0.3),
        inset 0 -5px 0 rgba(0,0,0,0.1); 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:active {
    transform: translateY(4px);
}

.title-3d {
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.8);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark-text);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 700;
    font-size: 1.05rem;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 160px 5% 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    padding-right: 50px;
    z-index: 2;
    animation: slideUp 0.8s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--dark-text);
}

.hero p {
    font-size: 1.35rem;
    color: #636e72;
    margin-bottom: 40px;
    font-weight: 600;
}

.store-buttons {
    display: flex;
    gap: 20px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: #2D3436;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s;
    box-shadow: var(--clay-shadow);
}

.store-btn:hover {
    transform: translateY(-5px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #2D3436;
    border-radius: 45px;
    border: 12px solid #2D3436;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* Floating Elements Animation */
.float-anim {
    animation: float 6s ease-in-out infinite;
}

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

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

/* Features Grid */
.features {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
    box-shadow: var(--clay-inset);
    background: #f0f4f8;
}

/* Scan Section */
.scan-section {
    padding: 80px 0;
    margin: 80px 5%;
    border-radius: 40px;
    background: linear-gradient(120deg, var(--accent-purple), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.3);
}

.scan-content {
    padding: 40px;
    max-width: 600px;
}

.qr-box {
    background: white;
    padding: 20px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    margin: 40px;
    transform: rotate(-3deg);
    transition: transform 0.3s;
}

.qr-box:hover {
    transform: rotate(0deg) scale(1.05);
}

.qr-placeholder {
    background: white;
    width: 200px; 
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
}

/* Forms & Inputs */
input[type='email'] {
    background: #f0f4f8;
    border: none;
    box-shadow: var(--clay-inset);
    border-radius: 12px;
    padding: 15px;
    font-size: 1rem;
    color: var(--dark-text);
    transition: all 0.3s;
    width: 100%;
}

input[type='email']:focus {
    outline: none;
    background: white;
    box-shadow: 
        inset 2px 2px 5px rgba(163, 177, 198, 0.4), 
        inset -2px -2px 5px rgba(255, 255, 255, 0.8);
}

/* Content Container for pages */
.content-container {
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 40px;
    background: rgba(255,255,255,0.5);
    border-radius: 30px;
    box-shadow: var(--clay-shadow);
}

.page-header {
    text-align: center;
    padding: 180px 5% 60px;
    background: linear-gradient(135deg, #fff 0%, #f0f4f8 100%);
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--dark-text);
    margin-bottom: 20px;
}

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

.shape {
    position: absolute;
    opacity: 0.15;
}

/* Footer specific */
.site-footer {
    background: transparent;
    margin-top: 100px;
}

.footer-inner {
    background: white;
    border-radius: 40px 40px 0 0;
    padding: 80px 5% 40px;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 900px) {
    .navbar {
        width: 95%;
        padding: 15px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 60px;
    }

    .hero h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none; /* Mobile menu implementation could go here */
    }
}

