/* ================================
   APIMobiz - Main Styles
   ================================ */

/* === CSS VARIABLES === */
:root {
    --primary-color: #1E3A8A;
    --secondary-color: #3B82F6;
    --accent-color: #60A5FA;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --section-padding: 64px;
    --section-padding-mobile: 40px;
}

/* === BASE STYLES === */
body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-color);
}

/* === NAVIGATION === */
.navbar {
    background: #0F172A;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    margin: 0 0.25rem;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: var(--accent-color) !important;
    background-color: rgba(96, 165, 250, 0.2);
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 56px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
}

.hero .hero-content {
    margin-top: -30px;
}

.hero .app-store-links {
    margin-top: 2rem;
}

/* Store Badge Styling */
.store-badge-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.store-badge-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.store-badge {
    height: 50px;
    width: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.store-badge-link:hover .store-badge {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


/* === BUTTONS === */
.btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: var(--primary-color);
    background: white;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* === FEATURES SECTION === */
.features {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e3a8a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--dark-color);
    line-height: 1.3;
    flex: 1;
}

.feature-description {
    color: #6B7280;
    line-height: 1.7;
}

/* === SECTION TITLES === */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: #6B7280;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* === CTA SECTION === */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: var(--section-padding) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* === CONTACT FORM === */
.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: var(--section-padding) 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px 20px 0 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #FAFAFA;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: #9CA3AF;
}

.btn-contact {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    color: white;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-details p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.contact-details a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-details a:hover {
    opacity: 0.8;
    color: white;
}

/* === PLATFORM ARCHITECTURE === */
.platform-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: var(--section-padding) 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.platform-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width=%2260%22 height=%2260%22 viewBox=%220 0 60 60%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cg fill=%22none%22 fill-rule=%22evenodd%22%3E%3Cg fill=%22%233b82f6%22 fill-opacity=%220.02%22%3E%3Cpath d=%22M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.6;
}

.platform-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.platform-card:hover .platform-icon {
    transform: scale(1.1);
}

.platform-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.platform-description {
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.1));
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.architecture-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
}

.architecture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px 20px 0 0;
}

.architecture-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.architecture-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.architecture-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.architecture-subtitle {
    color: #6B7280;
    margin: 0;
    font-size: 1rem;
}

.architecture-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.architecture-feature i {
    color: #10B981;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.architecture-feature div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.architecture-feature strong {
    color: var(--dark-color);
    font-weight: 600;
}

.architecture-feature span {
    color: #6B7280;
    font-size: 0.95rem;
}

/* === TEAM MANAGEMENT === */
.team-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width=%2260%22 height=%2260%22 viewBox=%220 0 60 60%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cg fill=%22none%22 fill-rule=%22evenodd%22%3E%3Cg fill=%22%23ffffff%22 fill-opacity=%220.05%22%3E%3Cpath d=%22M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.5;
}

.team-feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.team-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.team-feature-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.team-feature-text {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

.team-info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.team-info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.team-info-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 3rem;
}

.team-info-title {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.team-info-text {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.team-info-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-info-badge i {
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.team-info-badge strong {
    color: white;
}

.team-info-badge span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

/* === FOOTER === */
footer {
    background: #0F172A;
    color: white;
    padding: 50px 0 30px;
}

footer a {
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 1 !important;
}

/* === PHONE MOCKUP === */
.hero-screenshot-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 330px;
    height: 700px;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 45px;
    padding: 8px;
    box-shadow: 0 35px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.screenshot-modal .phone-screen img.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.screenshot-modal .phone-screen img.fade-in {
    opacity: 1;
    transform: scale(1);
}

.placeholder-content {
    text-align: center;
    color: #9CA3AF;
}

.placeholder-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.placeholder-content p {
    margin: 0;
    font-weight: 600;
    color: #6B7280;
}

.placeholder-content small {
    color: #9CA3AF;
}

/* === SCREENSHOTS SECTION === */
.screenshots-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.screenshots-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233b82f6' fill-opacity='0.02'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.screenshot-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s;
    height: 100%;
}

.screenshot-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.screenshot-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder .phone-mockup {
    width: 220px;
    height: 450px;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 30px;
    padding: 6px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
    position: relative;
}

.screenshot-placeholder .phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.screenshot-placeholder .phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 25px;
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

.screenshot-placeholder-content {
    text-align: center;
    color: #9CA3AF;
    z-index: 1;
}

.screenshot-placeholder-content i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
}

.screenshot-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.screenshot-description {
    color: #6B7280;
    font-size: 0.95rem;
}

/* === SCREENSHOT MODAL === */
.screenshot-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.screenshot-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-modal-content {
    position: relative;
    animation: zoomIn 0.3s ease;
}

.screenshot-modal .phone-mockup {
    width: 300px;
    height: 650px;
    animation: none;
}

.screenshot-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10000;
}

.screenshot-modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.screenshot-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10000;
    opacity: 0.7;
}

.screenshot-modal-nav:hover {
    background: rgba(255,255,255,0.2);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.screenshot-modal-nav.prev {
    left: 20px;
}

.screenshot-modal-nav.next {
    right: 20px;
}

.screenshot-modal-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.screenshot-modal-nav.disabled:hover {
    background: rgba(0,0,0,0.5);
    transform: translateY(-50%) scale(1);
    opacity: 0.3;
}

.screenshot-clickable {
    cursor: pointer;
    transition: transform 0.3s;
}

.screenshot-clickable:hover {
    transform: scale(1.02);
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* === RESPONSIVE STYLES === */

/* Tablet Styles */
@media (max-width: 992px) {
    :root {
        --section-padding: 56px;
        --section-padding-mobile: 40px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
    
    .architecture-card {
        padding: 2.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    :root {
        --section-padding-mobile: 40px;
    }
    
    /* Reduce all section padding on mobile */
    .hero {
        padding: 40px 0 28px;
    }
    
    .features,
    .team-section,
    .platform-section,
    .screenshots-section,
    .contact-section {
        padding: var(--section-padding-mobile) 0 !important;
    }
    
    /* Hero Section Mobile */
    .hero .hero-content {
        margin-top: 0 !important;
    }
    
    /* Phone image on mobile - show first, add some bottom margin */
    .hero .hero-screenshot-placeholder {
        margin-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* App Store Badges - Mobile Layout */
    .hero .app-store-links {
        margin-top: 1.5rem;
    }
    
    .store-badge {
        height: 45px;
    }
    
    .hero .app-store-links .d-flex {
        gap: 0.75rem !important;
    }
    
    /* Buttons Mobile */
    .btn-primary,
    .btn-outline-light {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }
    
    /* Feature Cards Mobile */
    .feature-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card:hover {
        transform: translateY(-5px) scale(1);
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-description {
        font-size: 0.95rem;
    }
    
    /* Platform Cards Mobile */
    .platform-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .platform-card:hover {
        transform: translateY(-5px);
    }
    
    .platform-icon {
        width: 65px;
        height: 65px;
        font-size: 2rem;
    }
    
    .platform-title {
        font-size: 1.3rem;
    }
    
    .platform-description {
        font-size: 0.95rem;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
    
    /* Architecture Card Mobile */
    .architecture-card {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .architecture-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 1rem;
        flex-wrap: nowrap !important;
    }
    
    .architecture-header > div {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .architecture-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        flex-shrink: 0 !important;
    }
    
    .architecture-title {
        font-size: 1.3rem;
    }
    
    .architecture-subtitle {
        font-size: 0.9rem;
    }
    
    .architecture-feature {
        margin-bottom: 1rem;
    }
    
    .architecture-feature strong {
        font-size: 0.95rem;
    }
    
    .architecture-feature span {
        font-size: 0.85rem;
    }
    
    /* Team Section Mobile */
    .team-section h2 {
        font-size: 2rem;
    }
    
    .team-feature-item {
        padding: 1.2rem;
        margin-bottom: 1rem;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 1rem;
        flex-wrap: nowrap !important;
    }
    
    .team-feature-item > div {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .team-feature-item:hover {
        transform: translateX(0) translateY(-3px);
    }
    
    .team-feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        flex-shrink: 0 !important;
    }
    
    .team-feature-title {
        font-size: 1.1rem;
    }
    
    .team-feature-text {
        font-size: 0.95rem;
    }
    
    .team-info-card {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .team-info-icon {
        width: 65px;
        height: 65px;
        font-size: 2.5rem;
    }
    
    .team-info-title {
        font-size: 1.3rem;
    }
    
    .team-info-text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .team-info-badge {
        padding: 1.2rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .team-info-badge strong {
        font-size: 0.95rem;
    }
    
    .team-info-badge span {
        font-size: 0.85rem;
    }
    
    /* Screenshots Mobile */
    .screenshot-placeholder {
        height: 350px;
    }
    
    .screenshot-placeholder .phone-mockup {
        width: 180px;
        height: 350px;
    }
    
    .screenshot-card {
        padding: 15px;
        margin-bottom: 1.5rem;
    }
    
    .screenshot-card:hover {
        transform: translateY(-5px) scale(1);
    }
    
    .screenshot-title {
        font-size: 1.1rem;
    }
    
    .screenshot-description {
        font-size: 0.9rem;
    }
    
    /* Phone Mockup Mobile */
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .screenshot-modal .phone-mockup {
        width: 250px;
        height: 550px;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: 2rem;
    }
    
    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .contact-form p {
        font-size: 1rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-control {
        padding: 0.85rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .btn-contact {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Footer Mobile */
    footer {
        padding: 40px 0 25px;
    }
    
    footer h5 {
        font-size: 1.2rem;
    }
    
    footer p {
        font-size: 0.9rem;
    }
    
    /* Modal Mobile */
    .screenshot-modal-close,
    .screenshot-modal-nav {
        width: 40px;
        height: 40px;
        font-size: 25px;
    }
    
    .screenshot-modal-close {
        top: 10px;
        right: 10px;
    }
    
    .screenshot-modal-nav.prev {
        left: 10px;
    }
    
    .screenshot-modal-nav.next {
        right: 10px;
    }
    
    /* Back to Top Mobile */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    /* Spacing Utilities Mobile */
    .mb-5,
    .my-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .store-badge {
        height: 40px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .phone-mockup {
        width: 220px;
        height: 450px;
    }
    
    .screenshot-placeholder .phone-mockup {
        width: 160px;
        height: 320px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .architecture-card,
    .team-info-card {
        padding: 1.5rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 28px 0 20px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
}

