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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: hsl(222.2, 84%, 4.9%);
    background-color: hsl(0, 0%, 100%);
}

/* CSS Variables */
:root {
    /* Brand Colors - Professional Blue & Orange Theme */
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;

    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;

    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;

    /* Primary - Deep Professional Blue */
    --primary: 207 89% 24%;
    --primary-foreground: 0 0% 100%;
    --primary-glow: 207 89% 40%;

    /* Secondary - Warm Orange */
    --secondary: 25 95% 53%;
    --secondary-foreground: 0 0% 100%;

    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;

    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 207 89% 24%;

    --radius: 0.5rem;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(207, 89%, 24%), hsl(207, 89%, 40%));
    --gradient-hero: linear-gradient(135deg, hsl(207, 89%, 24%) 0%, hsl(207, 89%, 32%) 100%);
    --gradient-card: linear-gradient(145deg, hsl(0, 0%, 100%) 0%, hsl(210, 40%, 98%) 100%);

    /* Shadows */
    --shadow-elegant: 0 10px 30px -10px hsl(207, 89%, 24%, 0.3);
    --shadow-glow: 0 0 40px hsl(207, 89%, 40%, 0.4);
    --shadow-card: 0 4px 20px -4px hsl(207, 89%, 24%, 0.1);

    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.primary-text {
    color: hsl(var(--primary));
}

.secondary-text {
    color: hsl(var(--secondary));
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Button Variants */
.btn-default {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-default:hover {
    background-color: hsl(var(--primary) / 0.9);
}

.btn-cta {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-glow);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elegant);
}

.btn-outline {
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

/* Button Sizes */
.btn-sm {
    height: 2.25rem;
    border-radius: calc(var(--radius) - 2px);
    padding: 0 0.75rem;
}

.btn-lg {
    height: 2.75rem;
    border-radius: var(--radius);
    padding: 0 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    width: 100%;
    background-color: hsl(var(--background) / 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid hsl(var(--border));
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--primary));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.mobile-menu {
    display: block;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
    
    .mobile-menu {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('src/assets/vizag-sports-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
}

.hero-container {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}

.hero-content {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: hsl(var(--primary-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: hsl(var(--primary-foreground) / 0.9);
    margin-bottom: 2rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
}

/* Features */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: hsl(var(--primary-foreground));
}

.feature-icon {
    background-color: hsl(var(--secondary));
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: hsl(var(--secondary-foreground));
}

.feature-text {
    text-align: left;
}

.feature-title {
    font-weight: 600;
}

.feature-subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Subdomain Form */
.subdomain-form {
    background-color: hsl(var(--background));
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-glow);
    max-width: 28rem;
    margin: 0 auto;
}

.form-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subdomain-input {
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 2px);
    text-align: center;
    font-size: 1.125rem;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
}

.subdomain-input:focus {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
    border-color: transparent;
}

.subdomain-preview {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

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

.hero-packages-btn {
    background-color: hsl(var(--background) / 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid hsl(var(--primary-foreground) / 0.2);
    color: hsl(var(--primary-foreground));
}

.hero-packages-btn:hover {
    background-color: hsl(var(--background) / 0.2);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: hsl(var(--background));
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 75rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--gradient-card);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elegant);
}

.service-icon {
    background: var(--gradient-primary);
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary-foreground));
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
}

.service-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
    line-height: 1.5;
}

.service-example {
    padding: 0.75rem;
    background-color: hsl(var(--muted));
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.example-text {
    color: hsl(var(--muted-foreground));
    margin-right: 0.5rem;
}

.example-url {
    color: hsl(var(--primary));
    font-weight: 500;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: hsl(var(--muted));
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step {
    text-align: center;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step-content {
    text-align: center;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.step-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background-color: hsl(var(--background));
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 75rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    position: relative;
    background: var(--gradient-card);
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-elegant);
}

.pricing-card.popular {
    border: 2px solid hsl(var(--secondary));
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star-icon {
    width: 1rem;
    height: 1rem;
}

.card-header {
    text-align: center;
    padding: 2rem 2rem 2rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: hsl(var(--foreground));
}

.plan-price {
    margin: 1rem 0;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: hsl(var(--primary));
}

.period {
    color: hsl(var(--muted-foreground));
    margin-left: 0.5rem;
}

.plan-description {
    color: hsl(var(--muted-foreground));
}

.card-content {
    padding: 0 2rem 2rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: hsl(var(--foreground));
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--secondary));
    flex-shrink: 0;
}

.pricing-footer {
    text-align: center;
    margin-top: 3rem;
}

.footer-text {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-description {
    color: hsl(var(--primary-foreground) / 0.8);
    line-height: 1.6;
}

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

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: transparent;
    color: hsl(var(--primary-foreground));
    border: none;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-link:hover {
    color: hsl(var(--secondary));
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: hsl(var(--primary-foreground) / 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: hsl(var(--secondary));
}

.footer-links li {
    color: hsl(var(--primary-foreground) / 0.8);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--secondary));
}

.footer-bottom {
    border-top: 1px solid hsl(var(--primary-foreground) / 0.2);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    color: hsl(var(--primary-foreground) / 0.6);
    font-size: 0.875rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.legal-links a {
    color: hsl(var(--primary-foreground) / 0.6);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.legal-links a:hover {
    color: hsl(var(--secondary));
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: hsl(var(--background));
    border-radius: 1rem;
    max-width: 28rem;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: var(--shadow-elegant);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-2rem) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.modal-close:hover {
    color: hsl(var(--foreground));
}

.modal-body {
    padding: 1.5rem;
    text-align: center;
}

.qr-image {
    width: 16rem;
    height: 16rem;
    object-fit: contain;
    margin-bottom: 1rem;
}

.qr-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-text {
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}