/* Base Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #FF6B6B, #FF8E53);
    --secondary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --accent-gradient: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    
    --primary-color: #FF6B6B;
    --text-main: #2b2b2b;
    --text-muted: #6b6b6b;
    --bg-main: #ffffff;
    --bg-light: #fff5f5;
    --border-color: #f1f1f1;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 15px rgba(255, 107, 107, 0.3);
}

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

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 15px rgba(255, 107, 107, 0.3);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo i {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,245,245,1) 0%, rgba(255,255,255,1) 100%);
    padding-top: 80px; /* offset for navbar */
    position: relative;
    overflow: hidden;
}

/* Decorative background circles */
.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--accent-gradient);
    filter: blur(80px);
    opacity: 0.2;
    top: -100px;
    right: -100px;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--secondary-gradient);
    filter: blur(80px);
    opacity: 0.15;
    bottom: -50px;
    left: -100px;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #1a1a1a;
}

.hero-content h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Premium Mockup Container */
.mockup-container {
    position: relative;
    width: 320px;
    height: 640px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iphone-frame-new {
    width: 100%;
    height: 100%;
    background-color: #0c0c0e;
    border-radius: 36px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(0, 0, 0, 0.05);
    border: 4px solid #1a1a1e; /* Sleek, thin premium screen layout */
    position: relative;
    overflow: hidden;
    transform: rotate(-4deg);
    transition: var(--transition);
    z-index: 2;
}

.iphone-frame-new:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.35);
}

.iphone-frame-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Floating Interactive Widgets */
.floating-widget {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    z-index: 3;
}

.floating-widget:hover {
    transform: translateY(-5px) scale(1.03);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Music Widget (Top Right) */
.widget-music {
    top: 60px;
    right: -70px;
    width: 240px;
    animation: float-animation 6s ease-in-out infinite;
}

.widget-icon {
    width: 38px;
    height: 38px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.widget-text {
    flex-grow: 1;
    text-align: left;
}

.widget-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.widget-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Equalizer Animation */
.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
}

.equalizer .bar {
    width: 3px;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: bounce 0.8s ease-in-out infinite alternate;
}

.equalizer .bar:nth-child(2) {
    animation-delay: 0.2s;
}

.equalizer .bar:nth-child(3) {
    animation-delay: 0.4s;
}

/* RSVP Widget (Bottom Left) */
.widget-rsvp {
    bottom: 80px;
    left: -70px;
    width: 260px;
    animation: float-animation-reverse 6s ease-in-out infinite;
}

.widget-icon-heart {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #FF758C, #FF7EB3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.badge-present {
    background-color: #E6F9EE;
    color: #2DCA73;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Float Animations */
@keyframes float-animation {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

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

@keyframes bounce {
    from { height: 4px; }
    to { height: 16px; }
}

/* Templates Section */
.templates-section {
    padding: 100px 24px;
    background-color: var(--bg-main);
}

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

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 35px;
    background: var(--bg-light);
    border: none;
    border-radius: 30px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-pane.active {
    display: block;
}

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

.template-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

.template-card-simple {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 0;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.template-card-simple:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-8px);
}

.template-card-simple img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.template-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.template-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.simple-features {
    margin-bottom: 25px;
    flex-grow: 1;
}

.simple-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.simple-features li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: -2px;
}

.template-card-simple .btn {
    width: 100%;
}

/* Premium CTA Section */
.cta-section {
    padding: 80px 24px;
    background-color: var(--bg-main);
    position: relative;
    z-index: 2;
}

.cta-card {
    background: linear-gradient(135deg, #18191d 0%, #0f0f12 100%);
    border-radius: 24px;
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.cta-content p {
    color: #b0b0b5;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-action {
    position: relative;
    z-index: 1;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    animation: whatsapp-pulse 2s infinite;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

.btn-whatsapp i {
    font-size: 1.4rem;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Premium Large Footer */
.large-footer {
    background-color: #0c0c0e;
    color: #ffffff;
    padding: 80px 0 0 0;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    color: #ffffff;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 35px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.brand-col .logo {
    margin-bottom: 20px;
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-desc {
    color: #a0a0a5;
    line-height: 1.7;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 107, 107, 0.3);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a0a0a5;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.contact-col p {
    color: #a0a0a5;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-col p i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    background-color: #09090b;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-content p {
    color: #707075;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: #707075;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Responsiveness Updates for Footer */
@media (max-width: 992px) {
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
    
    .cta-content {
        margin-bottom: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .iphone-frame {
        transform: rotate(0);
    }
    
    .template-card.popular {
        transform: scale(1);
    }
    
    .template-card.popular:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .nav-links a:not(.btn) {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .template-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        flex-wrap: wrap;
    }
}
