:root {
    --primary: #ff6b6b;
    --primary-hover: #fa5252;
    --secondary: #f06595;
    --dark: #2b2b2b;
    --light: #f8f9fa;
    --gray: #868e96;
    --bg: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

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

/* Typography */
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; }
h2 { font-size: 2.5rem; margin-bottom: 3rem; text-align: center; }

/* Navbar */
.navbar { 
    padding: 1.5rem 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: absolute; 
    top: 0; 
    width: 100%; 
    z-index: 100;
}
.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-weight: 700; 
    font-size: 1.5rem; 
    color: var(--dark); 
    text-decoration: none; 
}
.logo img { height: 40px; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

/* Buttons */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 1rem 2.5rem; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease; 
}
.btn-primary { 
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    color: white; 
    box-shadow: 0 4px 15px rgba(255,107,107,0.3); 
    border: none;
}
.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(255,107,107,0.4); 
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 5% 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(255,107,107,0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(240,101,149,0.1), transparent 40%);
}
.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}
.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

/* Floating Card Animation */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    perspective: 1000px;
}
.floating-card {
    width: 400px;
    height: 520px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    position: absolute;
    right: 50px;
    top: 40px;
    transform: rotateY(-15deg) rotateX(5deg);
    animation: float 6s ease-in-out infinite;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 8px solid #fff5f5;
}
.floating-card::before {
    content: '';
    position: absolute;
    top: -20px; right: -20px; bottom: -20px; left: -20px;
    border: 2px dashed rgba(255,107,107,0.3);
    border-radius: 30px;
    z-index: -1;
}
.fc-image {
    width: 100%;
    height: 250px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}
.fc-image::after {
    content: '★';
    position: absolute;
    font-size: 4rem;
    color: #ffd43b;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.fc-text { text-align: center; }
.fc-title { font-family: var(--font-heading); font-size: 2rem; color: var(--primary); margin-bottom: 0.5rem; }
.fc-sub { color: var(--gray); }

@keyframes float {
    0% { transform: rotateY(-15deg) rotateX(5deg) translateY(0px); }
    50% { transform: rotateY(-5deg) rotateX(2deg) translateY(-20px); }
    100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0px); }
}

/* Features grid */
.features {
    padding: 8rem 5%;
    background: var(--bg);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    background: var(--light);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}
.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,107,107,0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--dark); font-family: var(--font-body); }
.feature-card p { color: var(--gray); }

/* Steps Section */
.steps-section {
    padding: 8rem 5%;
    background: var(--light);
}
.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.step {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.step:nth-child(even) { flex-direction: row-reverse; }
.step-number {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: rgba(255,107,107,0.1);
    line-height: 1;
    margin-bottom: -40px;
    position: relative;
    z-index: 1;
}
.step-content { flex: 1; position: relative; z-index: 2; }
.step-content h3 { font-size: 2rem; margin-bottom: 1rem; }
.step-image {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* CTA */
.cta {
    padding: 8rem 5%;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}
.cta h2 { color: white; margin-bottom: 1.5rem; }
.cta p { font-size: 1.25rem; margin-bottom: 2.5rem; opacity: 0.9; max-width: 600px; margin-inline: auto; }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }

/* Footer */
footer {
    padding: 4rem 5%;
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}
.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; padding-top: 8rem; }
    .hero-visual { position: relative; width: 100%; right: 0; transform: none; margin-top: 4rem; height: 400px; }
    .floating-card { right: 50%; transform: translateX(50%) rotateY(0deg) !important; animation: none; width: 300px; height: 400px;}
    .step { flex-direction: column !important; text-align: center; gap: 2rem; }
    .hero h1 { font-size: 3rem; }
}
