:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --border-color: rgba(0, 0, 0, 0.08);
    --secondary-text: #666666;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    width: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Typography */
h1, h2, h3, h4 {
    letter-spacing: -0.03em;
}

.section {
    padding: 4rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.floating-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Buttons */
.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: var(--text-color);
    color: var(--bg-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-color);
    background: rgba(0,0,0,0.02);
}

/* Hero Section */
.hero {
    text-align: center;
    padding-top: 6rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-character {
    width: clamp(140px, 35vw, 220px);
    height: auto;
    margin-bottom: 2rem;
}

.headline {
    font-size: clamp(2.8rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.subheading {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    color: var(--secondary-text);
    margin-bottom: 3rem;
    line-height: 1.5;
    max-width: 600px;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 600px) {
    .cta-group {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    .cta-group .btn {
        width: auto;
    }
}

.cta-group .btn {
    width: 100%;
}

/* Demo Section */
.demo {
    text-align: center;
}

.phone-mockup {
    width: 260px;
    height: 520px;
    margin: 0 auto 2rem;
    border: 12px solid #111;
    border-radius: 40px;
    box-shadow: var(--shadow-soft);
    position: relative;
    background: #050505;
    overflow: hidden;
}

.camera-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #111;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.app-ui {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #222 0%, #000 100%);
    color: white;
}

.ui-time {
    position: absolute;
    top: 40px;
    font-size: 3rem;
    font-weight: 300;
    opacity: 0.8;
}

.ui-capture-box {
    border: 1px dashed rgba(255,255,255,0.3);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.crosshair {
    font-size: 2rem;
    font-weight: 100;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

.demo-caption {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-text);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.feature-card {
    background: #fafafa;
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--secondary-text);
    line-height: 1.5;
}

/* Social Proof */
.social-proof {
    text-align: center;
}

.social-headline {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left;
}

.comment-item {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #eaeaea;
    flex-shrink: 0;
    object-fit: cover;
}

.comment-content h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.comment-content p {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

/* Support Button & Modal */
.floating-donate {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
}

.floating-donate:hover {
    background: #f5f5f5;
    transform: translateY(-3px);
}

.skip-image {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    filter: grayscale(100%) contrast(1.1);
    transition: var(--transition);
}

.skip-image:hover {
    filter: grayscale(0%) contrast(1);
}

.btn-skip {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    color: var(--secondary-text);
    border-color: rgba(0,0,0,0.05);
}

.main-container.hidden {
    display: none;
}

.main-container.visible {
    display: block;
    animation: fadeInPage 1s forwards;
}

@keyframes fadeInPage {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-color);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-text {
    color: var(--secondary-text);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.modal-buttons .btn {
    width: 100%;
}

@media (min-width: 600px) {
    .modal-buttons {
        flex-direction: row;
    }
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.ig-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
}

.ig-link:hover {
    text-decoration: underline;
}
