/* CSS for Glassmorphic Android App Development Studio */

:root {
    --bg-color: #0b0f19;
    --primary-color: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary-color: #06b6d4;
    --secondary-glow: rgba(6, 182, 212, 0.4);
    --accent-color: #10b981;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background animated glow spots */
.bg-glow-container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    mix-blend-mode: screen;
    animation: float 25s infinite alternate ease-in-out;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: var(--primary-color);
    top: -10%;
    left: 15%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    bottom: -10%;
    right: 10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: #8b5cf6;
    top: 40%;
    left: 55%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(80px, 50px) scale(1.15) rotate(180deg);
    }
    100% {
        transform: translate(-50px, -80px) scale(0.9) rotate(360deg);
    }
}

/* Glassmorphism Styles */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
    border-color: var(--glass-highlight);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
    transform: translateY(-4px);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo svg {
    fill: url(#logo-grad);
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.lang-selector {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3px;
    gap: 2px;
}

.lang-btn {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Sections General */
section {
    padding: 100px 24px 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 30%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 150px;
}

.badge {
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.3);
    color: #a5b4fc;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--accent-color);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -1px;
    max-width: 900px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 40%, #c7d2fe 70%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #312e81 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--primary-glow);
    background: linear-gradient(135deg, #5a52ff 0%, #3c38b0 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--glass-highlight);
    transform: translateY(-3px);
}

.btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--secondary-color);
}

.feature-icon-wrapper svg {
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Pricing Interactive Tool */
.pricing-container {
    max-width: 900px;
    margin: 0 auto;
}

.calculator-card {
    padding: 40px;
}

.calc-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 35px;
}

@media (max-width: 768px) {
    .calc-options {
        grid-template-columns: 1fr;
    }
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 14px 20px;
    background: rgba(11, 15, 25, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    appearance: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
}

.select-wrapper select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.25);
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.7rem;
    color: var(--text-muted);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Checkbox Features */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 35px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--glass-border);
    border-radius: 6px;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(79, 70, 229, 0.5);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
}

.checkbox-label.checked {
    background: rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.4);
}

/* Live Estimate Results */
.estimate-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 24px 30px;
    margin-bottom: 30px;
    border-left: 4px solid var(--secondary-color);
}

@media (max-width: 600px) {
    .estimate-box {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

.estimate-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.estimate-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.estimate-price {
    text-align: right;
}

@media (max-width: 600px) {
    .estimate-price {
        text-align: center;
    }
}

.price-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.price-term {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-badge {
    align-self: flex-start;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    color: #22d3ee;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.portfolio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.portfolio-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--text-muted);
}

/* Contact/Order Section */
.cta-box {
    text-align: center;
    padding: 60px 40px;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 24px;
    margin-top: 100px;
    background: rgba(11, 15, 25, 0.9);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
}

.footer-logo svg {
    width: 24px;
    height: 24px;
    fill: #4f46e5;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-main);
}

.copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

/* Responsive adjustment for Hero Text */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .badge {
        font-size: 0.75rem;
    }
    .lang-selector {
        margin-left: auto;
    }
}
