/* ==========================================
   GLOBAL STYLES & RESET
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0C2B4E;
    --secondary-blue: #1D546C;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --text-dark: #2C3E50;
    --text-gray: #5A6C7D;
    --border-light: #E8ECEF;
    --shadow: rgba(12, 43, 78, 0.08);
    --shadow-hover: rgba(12, 43, 78, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   LIQUID GLASS HEADER
   ========================================== */
.glass-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
    transition: all 0.3s ease;
}

.glass-header.scrolled .navbar {
    padding: 0.8rem 2rem;
}

.navbar {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(12, 43, 78, 0.1);
    border-radius: 50px;
    padding: 1rem 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: all 0.3s ease;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.signup-btn {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.signup-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.login-btn {
    background: var(--primary-blue);
    color: var(--white);
}

.login-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
    position: relative;
    z-index: 10;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

#big-text {
    font-size: 4.5rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

#small-text {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.startup-img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-hover);
}

.rocket-img {
    position: absolute;
    width: 120px;
    height: auto;
    z-index: 15;
    filter: drop-shadow(0 10px 30px rgba(12, 43, 78, 0.3));
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 1;
    visibility: visible;
    top: -20px;
    right: -30px;
    animation: rocketJiggle 2s ease-in-out infinite;
}

@keyframes rocketJiggle {
    0%, 100% {
        transform: translate(0, 0) rotate(-15deg);
    }
    25% {
        transform: translate(2px, -3px) rotate(-12deg);
    }
    50% {
        transform: translate(-2px, 2px) rotate(-18deg);
    }
    75% {
        transform: translate(3px, -2px) rotate(-13deg);
    }
}

/* ==========================================
   COIN SCROLL ANIMATION SECTION
   ========================================== */
.coin-showcase-section {
    position: relative;
    height: 120vh;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    overflow: hidden;
    z-index: 5;
}

.coin-scroll-container {
    position: sticky;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.coin-scroll-img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(12, 43, 78, 0.2));
    transition: transform 0.1s linear;
}

.coin-overlay-text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.coin-overlay-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.8s ease-out;
}

.coin-overlay-text p {
    font-size: 1.3rem;
    color: var(--text-gray);
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.coin-overlay-text .value-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
    font-weight: 500;
    padding: 0 1rem;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    z-index: 100;
    margin-top: -10vh;
}

/* Second Coin Animation (Right Side) */
.coin-scroll-container-right {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    pointer-events: none;
    z-index: 1;
}

.coin-scroll-img-right {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(12, 43, 78, 0.2));
    transition: transform 0.1s linear;
    opacity: 0.8;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: #000000;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    box-shadow: 0 4px 15px rgba(29, 84, 108, 0.1),
                0 2px 8px rgba(29, 84, 108, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(29, 84, 108, 0.1), 
                transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(29, 84, 108, 0.25),
                0 10px 25px rgba(29, 84, 108, 0.15),
                0 0 0 1px rgba(29, 84, 108, 0.1);
    border-color: #1D546C;
}

.icon-placeholder {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(29, 84, 108, 0.3),
                0 4px 10px rgba(29, 84, 108, 0.2);
}

.feature-card:hover .icon-placeholder {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 30px rgba(29, 84, 108, 0.4),
                0 6px 15px rgba(29, 84, 108, 0.3);
}

.icon-placeholder svg {
    width: 35px;
    height: 35px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: #1D546C;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: var(--text-primary);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    padding: 6rem 0;
    background: var(--off-white);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(12, 43, 78, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-large {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.05rem;
    margin-top: 1rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-links li {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--white);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    #big-text {
        font-size: 3.5rem;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 1rem 1.5rem;
    }
    
    .glass-header {
        top: 10px;
        left: 10px;
        right: 10px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    #big-text {
        font-size: 2.8rem;
    }

    #small-text {
        font-size: 1.1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .rocket-img {
        width: 80px;
    }
    
    .navbar {
        gap: 1rem;
        padding: 0.8rem 1.2rem;
    }
    
    .cta-buttons {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .coin-scroll-img {
        width: 200px;
        height: 200px;
    }
    
    .coin-scroll-img-right {
        width: 150px;
        height: 150px;
    }
    
    .coin-scroll-container-right {
        width: 150px;
        height: 150px;
        right: 2%;
    }
    
    .coin-overlay-text h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    #big-text {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .coin-overlay-text h2 {
        font-size: 2rem;
    }
    
    .coin-overlay-text p {
        font-size: 1rem;
    }
    
    .coin-scroll-img {
        width: 150px;
        height: 150px;
    }
    
    .coin-scroll-img-right {
        width: 100px;
        height: 100px;
    }
    
    .coin-scroll-container-right {
        width: 100px;
        height: 100px;
    }
}
