/* CSS Reset and Variables for Index */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --light-bg: #f7fafc;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', 'Nunito', sans-serif;
}

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

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

/* Base HTML Elements */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*--------- Hero Section ---------*/

.top-logo {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    overflow: hidden;
}


.top-logo .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.logo-container {
    margin-bottom: 3rem;
}

.hero-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.hero-logo:hover {
    transform: scale(1.05);
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    z-index: 1;
}

/*--------- Modern Buttons ---------*/

.menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    min-width: 180px;
    text-align: center;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-btn i {
    font-size: 1.2rem;
}

.menu-btn span {
    position: relative;
    z-index: 2;
}

.menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: var(--transition);
    z-index: 1;
}

.menu-btn:hover {
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.menu-btn:hover::before {
    left: 0;
}

.menu-btn.primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.menu-btn.primary::before {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.menu-btn.primary:hover {
    color: var(--white);
}

.menu-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.menu-btn.secondary::before {
    background: rgba(255, 255, 255, 0.2);
}

.menu-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    color: var(--white);
}

.menu-btn.small {
    margin: 0 0.25rem 0.5rem 0;
    padding: 0.75rem 1.5rem;
    min-width: 120px;
    font-size: 0.875rem;
}

/* Legacy button styles for compatibility */
.menu-btn.transparent {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.menu-btn.transparent:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

/*--------- Modern Sections ---------*/

.intro {
    padding: 5rem 0 2rem 0;
    background: var(--light-bg);
    position: relative;
}

.intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

.intro h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.intro a {
    margin: 1.5rem 0;
}

/*--------- Modern Apps Grid Section ---------*/

.apps-grid {
    padding: 5rem 0;
    background: var(--white);
}

.apps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.app-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: row;
    min-height: 280px;
}

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

.app-image {
    width: 40%;
    min-width: 180px;
    height: auto;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e2e8f0;
    position: relative;
    padding: 0.25rem;
}

.app-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: 1;
}

.app-image img {
    width: auto;
    height: 98%;
    max-width: 98%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.app-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.app-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.app-title-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.app-title-link:hover {
    text-decoration: none;
    color: var(--primary-color);
}

.app-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    margin-right: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.app-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.app-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0.25rem 0 0 0;
    font-weight: 400;
}

.app-description {
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

/*--------- App Store Badges ---------*/

.app-store-badge {
    height: 35px;
    padding-left: 8px;
}

.googleplay-badge {
    height: 50px;
}

/*--------- Modern Contact Section ---------*/

.contact {
    padding: 5rem 0;
    background: var(--light-bg);
}

.contact .form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.contact .form-group {
    margin-bottom: 2rem;
}

.contact .form-control {
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.contact .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.contact .input-group-addon {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.contact .btn.send-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.contact .btn.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.contact .alert {
    margin-bottom: 0;
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem;
}

/*--------- Modern Footer ---------*/

footer {
    padding: 4rem 0;
    background: var(--text-dark);
    color: var(--white);
}

footer p {
    color: #a0aec0;
    font-size: 0.875rem;
}

footer ul {
    text-align: right;
    margin-top: 2rem;
    list-style: none;
}

footer li {
    display: inline-block;
    margin-left: 2rem;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.875rem;
}

footer li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

footer li a:hover {
    color: var(--accent-color);
}

/*--------- Button Styles ---------*/

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
}

.btn-success {
    color: var(--white);
    background: linear-gradient(45deg, #28a745, #20c997);
    border-color: #28a745;
}

.btn-success:hover {
    background: linear-gradient(45deg, #218838, #1ba085);
    border-color: #1e7e34;
    color: var(--white);
    text-decoration: none;
}


