/* Apply border-box to all elements for easier sizing */
*{
box-sizing:border-box;
}

/* Global styles */
body {
background:#171c2f;
color:#f2f2f6;
font-family:'Segoe UI', Arial, sans-serif;
margin:0;
padding:0;
overflow-x:hidden;
}

/* Header styles (same as index page) */
.site-header {
background:#21274a;
width:100%;
min-height:64px;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 3px 6px rgba(0,0,0,0.4);
position:relative;
z-index:1000;
overflow-x:hidden;
}
.header-container {
max-width:1360px;
width:100%;
padding:0 10px;
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
position:relative;
}
.logo-link {
display:inline-block;
width:160px;
height:40px;
flex-shrink:0;
}
.logo-img {
width:160px;
height:40px;
display:block;
}
.main-nav {
display:flex;
align-items:center;
gap:15px;
flex-grow:1;
min-width:0;
}
.nav-list {
display:flex;
list-style:none;
margin:0;
padding:0;
gap:20px;
flex-shrink:1;
min-width:0;
overflow-x:auto;
scrollbar-width:none;
-ms-overflow-style:none;
}
.nav-list::-webkit-scrollbar {
display:none;
}
.nav-item {
white-space:nowrap;
}
.nav-list .nav-current {
color:#ffe600;
font-weight:700;
}
.nav-item a, .nav-current {
text-decoration:none;
color:#fff;
font-size:18px;
padding:14px 8px;
display:block;
transition:.2s color ease-in-out;
}
.nav-item a:hover {
color:#ffe600;
}
.auth-btns {
display:flex;
gap:10px;
flex-shrink:0;
}
.auth-btns.desktop-auth-btns {
margin-left:auto;
display:flex;
gap:10px;
flex-shrink:0;
}
.register-btn, .login-btn {
background:#ffe600;
color:#21274a;
border:none;
border-radius:5px;
padding:10px 22px;
font-weight:600;
font-size:17px;
text-decoration:none;
box-shadow:0 2px 5px rgba(29,38,50,0.08);
transition:background .2s,color .2s;
white-space:nowrap;
}
.login-btn {
background:#fff;
color:#21274a;
}
.register-btn:hover, .login-btn:hover {
background:#21274a;
color:#ffe600;
}
.hamburger {
display:none;
flex-direction:column;
justify-content:center;
align-items:center;
width:44px;
height:44px;
cursor:pointer;
background:none;
border:none;
transition:all .2s ease-in-out;
flex-shrink:0;
}
.hamburger span {
display:block;
height:4px;
width:28px;
background:#fff;
border-radius:3px;
margin:4px 0;
}

/* Mobile nav styles */
@media(max-width:1080px){
.auth-btns.desktop-auth-btns {
display:none;
}
.hamburger {
display:flex;
}
.nav-list {
display:none;
}
.main-nav {
flex-grow:0;
}
}
.mobile-nav {
display:none;
position:fixed;
top:0;
right:0;
width:81vw;
max-width:370px;
height:100vh;
background:#161c29;
z-index:2001;
flex-direction:column;
padding:60px 10px 70px 10px;
box-shadow:-8px 0 22px rgba(18,20,32,0.25);
overflow-y:auto;
}
.mobile-nav.active {
display:flex;
}
.mobile-nav-list {
list-style:none;
padding:0;
margin:0;
flex-grow:1;
}
.mobile-nav-list li {
padding:18px 20px;
font-size:20px;
color:#ffe600;
border-bottom:1px solid #22304a;
white-space:nowrap;
}
.mobile-nav-list li a {
color:#ffe600;
text-decoration:none;
display:block;
}
.mobile-auth-btns {
position:absolute;
bottom:24px;
left:0;
width:100%;
display:flex;
justify-content:center;
gap:28px;
padding:0 10px;
}
.mobile-auth-btns .register-btn,
.mobile-auth-btns .login-btn {
width:120px;
font-size:19px;
padding:13px 0;
border-radius:5px;
text-align:center;
display:flex;
align-items:center;
justify-content:center;
white-space:nowrap;
box-sizing:border-box;
}

/* App banner section */
.section-app-banner {
background:linear-gradient(122deg,#2e5366 45%,#25405a 89%);
padding:80px 10px;
text-align:center;
border-radius:13px;
box-shadow:0 6px 16px rgba(22,22,40,0.10);
margin:22px 10px 0 10px;
max-width:calc(100% - 20px);
}
.section-app-banner h1 {
font-size:2.4rem;
font-weight:800;
color:#ffe600;
margin-bottom:10px;
line-height:1.1;
}
.section-app-banner p {
font-size:1.25rem;
margin-bottom:30px;
color:#f5faf8;
line-height:1.4;
}
.app-download-buttons {
display:flex;
gap:20px;
justify-content:center;
flex-wrap:wrap;
}
.android-download-main,
.ios-download-main {
background:#ffe600;
color:#21274a;
border-radius:12px;
padding:15px 30px;
display:flex;
align-items:center;
gap:10px;
font-size:18px;
font-weight:600;
text-decoration:none;
box-shadow:0 4px 12px rgba(255,230,0,0.3);
transition:all .3s ease;
}
.android-download-main:hover,
.ios-download-main:hover {
background:#21274a;
color:#ffe600;
transform:translateY(-2px);
}

/* App content sections */
.app-content {
overflow-x:hidden;
width:100%;
}
.app-content section {
padding:30px 10px;
margin-left:auto;
margin-right:auto;
max-width:1240px;
width:100%;
box-sizing:border-box;
}

/* Section headings */
.section-app-features h2,
.section-app-installation h2,
.section-app-screenshots h2,
.section-app-compatibility h2,
.section-app-benefits h2,
.section-app-performance h2,
.section-app-payment h2,
.section-app-support h2,
.section-app-cta h2 {
font-size:1.6rem;
color:#ffe600;
margin-bottom:20px;
font-weight:700;
line-height:1.2;
text-align:center;
}

/* Features grid */
.features-grid {
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-top:20px;
}
.feature-block {
background:#24335e;
padding:20px;
border-radius:10px;
text-align:center;
}
.feature-icon {
font-size:2.5rem;
display:block;
margin-bottom:10px;
}
.feature-block h3 {
color:#ffe600;
font-size:1.2rem;
margin-bottom:10px;
}
.feature-block p {
color:#f2f2f6;
font-size:0.95rem;
line-height:1.4;
}

/* Installation tabs */
.installation-tabs {
display:flex;
gap:10px;
margin-bottom:20px;
justify-content:center;
}
.tab-button {
background:#24335e;
color:#ffe600;
border:none;
padding:12px 24px;
border-radius:6px;
font-size:16px;
font-weight:600;
cursor:pointer;
transition:background .2s;
}
.tab-button.active {
background:#ffe600;
color:#21274a;
}
.tab-button:hover {
background:#ffe600;
color:#21274a;
}
.tab-content {
display:none;
background:#214159;
padding:20px;
border-radius:10px;
}
.tab-content.active {
display:block;
}
.installation-steps {
color:#f2f2f6;
font-size:1.1rem;
line-height:1.6;
}
.installation-steps li {
margin-bottom:10px;
}
.installation-note {
color:#ffe600;
font-size:0.9rem;
margin-top:15px;
font-style:italic;
}

/* Screenshots grid */
.screenshots-grid {
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-top:20px;
}
.screenshot-block {
text-align:center;
}
.screenshot-block img {
width:200px;
height:auto;
border-radius:10px;
box-shadow:0 4px 8px rgba(0,0,0,0.3);
}
.screenshot-block p {
color:#ffe600;
font-weight:600;
margin-top:10px;
}

/* Compatibility grid */
.compatibility-grid {
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
margin-top:20px;
}
.compatibility-block {
background:#24335e;
padding:20px;
border-radius:10px;
}
.compatibility-block h3 {
color:#ffe600;
font-size:1.2rem;
margin-bottom:15px;
}
.compatibility-block ul {
color:#f2f2f6;
line-height:1.6;
}
.compatibility-block li {
margin-bottom:5px;
}

/* Benefits list */
.benefits-list {
background: #214159;
padding: 20px;
border-radius: 10px;
margin-top: 20px;
padding-left: 40px; /* Add left indentation */
}
.benefits-list li {
color: #f2f2f6;
font-size: 1.1rem;
line-height: 1.6;
margin-bottom: 10px;
margin-left: 20px; /* Additional left margin for list items */
}

/* Payment methods grid */
.payment-methods-grid {
display:grid;
grid-template-columns:repeat(6,1fr);
gap:15px;
margin-top:20px;
}
.payment-method {
background:#24335e;
padding:15px;
border-radius:8px;
text-align:center;
display:flex;
flex-direction:column;
align-items:center;
gap:8px;
}
.payment-method img {
background:#fff;
padding:5px;
border-radius:5px;
}
.payment-method span {
color:#ffe600;
font-size:0.9rem;
font-weight:600;
}

/* Support button */
.cta-support-btn {
background:#03cb78;
color:#fff;
border:none;
border-radius:8px;
font-weight:600;
font-size:18px;
padding:15px 35px;
margin-top:20px;
display:inline-block;
text-decoration:none;
box-shadow:0 2px 9px rgba(4,80,48,0.14);
transition:background .3s ease;
}
.cta-support-btn:hover {
background:#ffe600;
color:#192049;
}

/* Final download buttons */
.section-app-cta {
background:#1e2a52;
border-radius:12px;
padding:30px 20px;
text-align:center;
}
.final-download-buttons {
display:flex;
gap:20px;
justify-content:center;
flex-wrap:wrap;
margin-top:20px;
}
.android-download-final,
.ios-download-final {
background:#ffe600;
color:#21274a;
border-radius:12px;
padding:15px 30px;
display:flex;
align-items:center;
gap:10px;
font-size:18px;
font-weight:600;
text-decoration:none;
box-shadow:0 4px 12px rgba(255,230,0,0.3);
transition:all .3s ease;
}
.android-download-final:hover,
.ios-download-final:hover {
background:#21274a;
color:#ffe600;
transform:translateY(-2px);
}

/* Footer styles (same as index page) */
.site-footer {
background:#27294b;
width:100%;
padding:25px 10px 15px 10px;
margin-top:50px;
display:flex;
flex-direction:column;
gap:14px;
align-items:center;
box-shadow:inset 0 1px 0 rgba(255,255,255,0.15);
overflow-x:hidden;
}
.footer-payments {
display:flex;
gap:18px;
margin-bottom:12px;
justify-content:center;
flex-wrap:wrap;
max-width:680px;
padding:0 10px;
box-sizing:border-box;
width:100%;
}
.footer-providers {
display:flex;
gap:22px;
margin-bottom:12px;
flex-wrap:wrap;
justify-content:center;
align-items:center;
max-width:810px;
width:100%;
padding:0 10px;
box-sizing:border-box;
}
.footer-providers img {
background:#0b1122;
border-radius:8px;
padding:7px 5px;
height:auto;
max-height:53px;
object-fit:contain;
}
.footer-company-details {
color:#f0ecef;
font-size:13px;
text-align:center;
margin-top:14px;
max-width:750px;
line-height:1.6em;
padding:0 10px;
width:100%;
box-sizing:border-box;
}

/* Responsive design */
@media(max-width:1080px){
.header-container {
height:54px;
padding:0 15px;
}
.nav-list {
display:none;
}
.hamburger {
display:flex;
margin-left:auto;
}
.main-nav {
width:auto;
flex-grow:0;
gap:10px;
}
.app-content section,
.section-app-banner {
padding-left:10px;
padding-right:10px;
margin-left:10px;
margin-right:10px;
max-width:calc(100% - 20px);
}
}

@media(max-width:768px){
.features-grid {
grid-template-columns:repeat(2,1fr);
gap:15px;
}
.screenshots-grid {
grid-template-columns:repeat(2,1fr);
gap:15px;
}
.compatibility-grid {
grid-template-columns:1fr;
gap:15px;
}
.payment-methods-grid {
grid-template-columns:repeat(3,1fr);
gap:12px;
}
.app-download-buttons,
.final-download-buttons {
flex-direction:column;
align-items:center;
}
.section-app-banner {
padding:40px 10px;
}
}

@media(max-width:480px){
.features-grid {
grid-template-columns:1fr;
gap:12px;
}
.screenshots-grid {
grid-template-columns:1fr;
gap:12px;
}
.payment-methods-grid {
grid-template-columns:repeat(2,1fr);
gap:10px;
}
.section-app-banner h1 {
font-size:1.8rem;
}
.section-app-banner p {
font-size:1.1rem;
}
.android-download-main,
.ios-download-main,
.android-download-final,
.ios-download-final {
padding:12px 25px;
font-size:16px;
}
}

@media(max-width:320px){
.logo-link, .logo-img {
width:110px;
height:28px;
}
.section-app-banner h1 {
font-size:1.4rem;
}
.section-app-banner p {
font-size:1rem;
}
.app-content section {
padding:20px 5px;
}
.payment-methods-grid {
grid-template-columns:1fr;
gap:8px;
}
}