@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
}

body {
    background-color: #121212;
    overflow-x: hidden;
    position: relative;
    color: #f5f5f5;
}

/* Scroll Bar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
    background: #ff6b00;
    border-radius: 10px;
    transition: all 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff8c00;
}

/* Calculator Animation */
.calculator-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(to bottom, #000000, #1a1a1a);
}

.floating-numbers {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-numbers span {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 107, 0, 0.6);
    animation: float 15s linear infinite;
    opacity: 0.7;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

.calculator-bg {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0.5;
    transform: rotate(-10deg);
}

.calculator-screen {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 20%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.calculator-keys {
    position: absolute;
    top: 40%;
    left: 10%;
    width: 80%;
    height: 50%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 5px;
}

.calculator-keys::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

/* Container and Logo */
.container {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.container .logo-img {
    height: 120px;
    border-radius: 15px;
    transition: transform 0.5s ease;
    background: transparent;
}

.container .logo-img:hover {
    transform: scale(1.1) rotate(5deg);
}

.container .bg-text {
    font-size: 60px;
    font-weight: bolder;
    color: #ff6b00;
    background: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Description */
.description {
    font-weight: 600;
    font-size: 20px;
    margin-top: 30px;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    animation: slideUp 1s ease-in-out;
}

/* Calculator Types */
.calculator-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 80px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.type-card {
    background: #1e1e1e;
    border-radius: 15px;
    padding: 30px;
    width: 250px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(255, 107, 0, 0.2);
}

.type-card.animate {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out forwards;
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.type-card:hover .type-icon {
    background: #ff6b00;
    color: #121212;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

.type-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d2d2d;
    border-radius: 50%;
    font-size: 30px;
    color: #ff6b00;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 107, 0, 0.3);
}

.type-icon i {
    font-size: 40px;
    color: white;
}

.type-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.type-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Mouse Scroll Animated */
.middle {
    position: absolute;
    right: 40px;
    bottom: 40px;   
}

.mouse {
    width: 25px;
    right: 40px;
    bottom: 40px;
    height: 36px;
    border: 2px solid #aa6e13;
    border-radius: 60px;
    position: fixed;
}

.mouse::before {
    content: "";
    width: 5px;
    height: 5px;
    position: absolute;
    top: 8px;
    background: #aa6e13;
    left: 40%;
    border-radius: 50%;
    opacity: 1;
    animation: mouse 2s infinite;
}

@keyframes mouse {
    from {
        opacity: 1;
        top: 5px;
    }
    to {
        opacity: 0;
        top: 20px;
    }
}

/* Download Buttons */
.download {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    animation: fadeIn 1.5s ease-in-out;
}

.store-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.googlePlay,
.appStore {
    transition: transform 0.3s ease;
}

.googlePlay:hover,
.appStore:hover {
    transform: scale(1.05);
}

.store-badge {
    height: 60px;
    width: auto;
    cursor: pointer;
}

/* App Screenshots */
.screenImage {
    margin: 100px 0;
}

.screen-shot-container {
    overflow: hidden;
    padding: 20px 0;
}

.screen-shot {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.screen-shot img {
    width: 250px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.screen-shot img.animate {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out forwards;
}

.screen-shot img:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.screen-shot .shot1,
.screen-shot .shot3,
.screen-shot .shot5 {
    margin-top: 50px;
}
.screen-shot .shot2,
.screen-shot .shot4{
    margin-bottom: 50px;
}

/* Features Section */
.features-section {
    margin: 100px 0;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: #1e1e1e;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(255, 107, 0, 0.2);
}

.feature-item.animate {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-item:hover i {
    transform: scale(1.2);
    color: #ff8c00;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.feature-item i {
    font-size: 40px;
    color: #ff6b00;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Headers */
header {
    margin-top: 80px;
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    padding: 0 20px;
    background: -webkit-linear-gradient(#ff6b00, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modern Footer */
.modern-footer {
    margin-top: 100px;
    background-color: #121212;
    color: #f5f5f5;
    border-top: 1px solid rgba(255, 107, 0, 0.3);
    position: relative;
    padding: 50px 0 20px;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff6b00, transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    border-radius: 12px;
    border: 2px solid rgba(255, 107, 0, 0.3);
}

.footer-logo h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ff6b00;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ff6b00;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #ff6b00;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: #ff6b00;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1e1e1e;
    border-radius: 50%;
    color: #ff6b00;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.social-icon:hover {
    background-color: #ff6b00;
    color: #121212;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: #a0a0a0;
    font-size: 14px;
    margin: 0;
}

.copyright a {
    color: #ff6b00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #ff8c00;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ff6b00;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container .bg-text {
        font-size: 40px;
    }
    
    .container .logo-img {
        height: 80px;
    }
    
    header {
        font-size: 30px;
    }
    
    .description {
        font-size: 16px;
    }
    
    .type-card {
        width: 100%;
        max-width: 320px;
    }
    
    .download {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .screen-shot img {
        width: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .container .bg-text {
        font-size: 30px;
    }
    
    header {
        font-size: 24px;
    }
    
    .screen-shot {
        gap: 15px;
    }
    
    .screen-shot img {
        width: 150px;
    }
    
    .screen-shot .shot1,
    .screen-shot .shot3,
    .screen-shot .shot5 {
        margin-top: 20px;
    }
    
    .type-icon {
        width: 60px;
        height: 60px;
    }
    
    .type-icon i {
        font-size: 30px;
    }
}

/* APK Button Styles */
.googlePlay, .appStore, .apkButtonDiv {
    height: 60px;
    cursor: pointer;
    display: flex;
    transition: transform 0.3s;
    align-items: center;
}

.googlePlay:hover, .appStore:hover {
    transform: scale(1.05);
}

.google, .apple {
    height: 100%;
    object-fit: contain;
}

.apkButtonDiv {
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.apkButtonDiv:hover {
    transform: scale(1.05);
}

.apkButton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #000;
    color: white;
    border: 1px solid #79797a;
    border-radius: 8px;
    padding: 10px 20px;
    height: 60px;
    width: 180px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.1s ease;
    position: relative;
    overflow: hidden;
}

.apkButton:hover {
    background: #3DDC84; /* Android yeşili */
    color: transparent;
}

.android-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.apkButton:hover .android-icon {
    transform: scale(1.5);
}

.normal-icon {
    display: block;
    transition: opacity 0.1s ease;
}

.hover-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 100%);
    opacity: 0;
    transition: all 0.1s ease;
}

.apkButton:hover .normal-icon {
    opacity: 0;
}

.apkButton:hover .hover-icon {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.apkButton:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3DDC84; /* Android yeşili */
    z-index: -1;
}

/* Download Bölümü Stilleri */
.download {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.googlePlay, .appStore, .apkButtonDiv {
    height: 60px;
    cursor: pointer;
    display: flex;
    transition: transform 0.3s;
    align-items: center;
}

.googlePlay:hover, .appStore:hover {
    transform: scale(1.05);
}

.google, .apple {
    height: 100%;
    object-fit: contain;
}

.android {
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
}

.apkButton:hover .android {
    width: 40px;
    height: 40px;
}

.apkButton span {
    transition: all 0.3s ease;
}

.apkButton:hover span {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}
