/* ===========================
   Beach Gest Landing Page CSS
   =========================== */

:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --secondary: #6c757d;
    --success: #198754;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #0dcaf0;
    --purple: #6f42c1;
    --dark: #212529;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --radius: 1rem;
    --radius-sm: 0.5rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.display-3 {
    font-weight: 800;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-purple {
    color: var(--purple) !important;
}

/* Utility Classes */
.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.bg-success-soft {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.bg-info-soft {
    background-color: rgba(13, 202, 240, 0.1) !important;
}

.bg-danger-soft {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.bg-purple-soft {
    background-color: rgba(111, 66, 193, 0.1) !important;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: none;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary) !important;
}

.navbar-brand i {
    color: var(--warning);
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #e0f7fa 0%, #fff9e6 100%);
    overflow: hidden;
    padding-top: 76px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(13, 110, 253, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.hero-image {
    position: relative;
}

.hero-image img {
    position: relative;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.25rem;
}

.floating-card.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 30%;
    right: -5%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 2s;
}

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

.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.wave-bottom svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Stats Section */
.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
}

.feature-card h4 {
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.feature-list li {
    padding: 0.375rem 0;
    font-size: 0.875rem;
    color: var(--secondary);
}

.feature-list li i {
    margin-right: 0.5rem;
}

/* Module Cards */
.module-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.module-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.module-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.module-icon i {
    color: white;
    font-size: 1.25rem;
}

.module-card h5 {
    margin-bottom: 0.5rem;
}

/* Screenshots */
.screenshot-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.screenshot-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-card:hover img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.screenshot-overlay h5 {
    margin-bottom: 0.25rem;
}

.screenshot-overlay p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Tech Stack */
.tech-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

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

.tech-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.tech-card span {
    font-weight: 600;
    font-size: 0.875rem;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-list li i {
    margin-right: 0.75rem;
}

/* API Section */
.api-stat h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.code-block {
    background: #1e1e1e;
    border-radius: var(--radius);
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    color: #d4d4d4;
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    white-space: pre-wrap;
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header h5 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.pricing-price {
    padding: 1.5rem 0;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--secondary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: var(--success);
}

.pricing-features li.disabled {
    color: var(--secondary);
    opacity: 0.5;
}

.pricing-features li.disabled i {
    color: var(--secondary);
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    height: 100%;
}

.testimonial-rating {
    color: var(--warning);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--secondary);
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></svg>');
    opacity: 0.5;
}

.demo-form .form-control {
    border: none;
    padding: 1rem 1.25rem;
}

.demo-form .form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Contact Cards */
.contact-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h5 {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand i {
    color: var(--warning);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
}

.footer h6 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
}

.btn-primary {
    background: var(--gradient);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.3);
    transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
    background: var(--dark);
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 2rem;
}

/* Responsive */
@media (max-width: 991px) {
    .floating-card.card-1,
    .floating-card.card-2,
    .floating-card.card-3 {
        display: none;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-section .row {
        min-height: auto;
        padding: 3rem 0;
    }

    .hero-image {
        margin-top: 2rem;
    }
}

/* Placeholder Images */
.hero-image img,
.screenshot-card img,
.testimonial-author img,
.avatar {
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
