/* Responsive Design */

/* Large screens */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 80px;
    }
    
    .section-title {
        font-size: 64px;
    }
    
    .gemini-title {
        font-size: 80px;
    }
    
    .page-title {
        font-size: 72px;
    }
}

/* Medium screens */
@media (max-width: 1024px) {
    .floating-nav {
        padding: 6px 16px;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 64px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    .gemini-title {
        font-size: 64px;
    }
    
    .page-title {
        font-size: 56px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet screens */
@media (max-width: 768px) {
    .floating-nav {
        padding: 4px 12px;
        gap: 8px;
        border-radius: 30px;
        top: 15px;
    }
    
    .nav-item span.hidden {
        display: none;
    }
    
    .nav-item span.block {
        display: block;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .section-subtitle {
        font-size: 20px;
    }
    
    .page-title {
        font-size: 48px;
    }
    
    .page-subtitle {
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hover-border-gradient .button-content {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .qenjin-text-container {
        height: 40vh;
    }
    
    .placeholder-vanish-input {
        max-width: 90%;
    }
    
    .text-flip-container {
        width: 180px !important;
        min-width: 180px;
        max-width: 180px;
        padding: 6px 12px;
        margin: 0 4px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .gemini-title {
        font-size: 48px;
    }
    
    .gemini-description {
        font-size: 18px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card {
        padding: 32px;
    }
    
    .form-container {
        padding: 32px;
    }
    
    .content-section h2 {
        font-size: 36px;
    }
    
    .content-section h3 {
        font-size: 28px;
    }
    
    .content-section p {
        font-size: 16px;
    }
    
    .highlight-box {
        padding: 24px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    .process-number {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }
    
    .process-title {
        font-size: 20px;
    }
    
    .process-description {
        font-size: 14px;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
    
    .team-name {
        font-size: 20px;
    }
    
    .team-role {
        font-size: 14px;
    }
    
    .team-bio {
        font-size: 14px;
    }
    
    .page-header {
        padding: 100px 0 60px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .footer {
        padding: 60px 0 32px;
    }
}

/* Mobile screens */
@media (max-width: 480px) {
    .floating-nav {
        padding: 3px 8px;
        gap: 6px;
        border-radius: 30px;
        top: 15px;
    }
    
    .nav-item {
        font-size: 11px;
        padding: 4px 6px;
    }
    
    .nav-login-btn {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .hero-section {
        padding: 100px 16px 0;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .page-title {
        font-size: 40px;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .qenjin-text-container {
        height: 35vh;
    }
    
    .text-flip-container {
        width: 140px !important;
        min-width: 140px;
        max-width: 140px;
        padding: 4px 8px;
        margin: 0 2px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .gemini-title {
        font-size: 36px;
    }
    
    .gemini-description {
        font-size: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
    }
    
    .feature-title {
        font-size: 24px;
    }
    
    .feature-description {
        font-size: 15px;
    }
    
    .form-container {
        padding: 24px;
    }
    
    .form-input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .form-submit {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .email-input-container {
        height: 56px;
        max-width: 100%;
    }
    
    .email-input {
        font-size: 16px;
        padding: 0 70px 0 20px;
    }
    
    .email-submit {
        width: 48px;
        height: 48px;
        right: 4px;
    }
    
    .email-input-label {
        font-size: 12px;
        top: -25px;
    }
    
    .content-section h2 {
        font-size: 32px;
    }
    
    .content-section h3 {
        font-size: 24px;
    }
    
    .content-section p {
        font-size: 16px;
    }
    
    .content-section li {
        font-size: 16px;
    }
    
    .highlight-box {
        padding: 20px;
    }
    
    .stat-card {
        padding: 32px 16px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .process-card {
        padding: 32px;
    }
    
    .process-number {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .process-title {
        font-size: 18px;
    }
    
    .process-description {
        font-size: 14px;
    }
    
    .team-member {
        padding: 32px;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .team-name {
        font-size: 18px;
    }
    
    .team-role {
        font-size: 14px;
    }
    
    .team-bio {
        font-size: 14px;
    }
    
    .page-header {
        padding: 80px 0 40px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .footer {
        padding: 40px 0 24px;
    }
    
    .footer-section h3 {
        font-size: 18px;
    }
    
    .footer-section a {
        font-size: 14px;
    }
    
    .footer-bottom {
        font-size: 14px;
    }
    
    .privacy-note {
        font-size: 12px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
    
    .hover-border-gradient .button-content {
        padding: 12px 24px;
        font-size: 15px;
        min-width: 180px;
    }
    
    .cta-buttons {
        gap: 16px;
    }
    
    .gemini-svg {
        top: 65%;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .gemini-title {
        font-size: 32px;
    }
    
    .text-flip-container {
        width: 120px !important;
        min-width: 120px;
        max-width: 120px;
        padding: 3px 6px;
        margin: 0 1px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .stat-card {
        padding: 24px 12px;
    }
    
    .process-card {
        padding: 24px;
    }
    
    .team-member {
        padding: 24px;
    }
    
    .hover-border-gradient .button-content {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 160px;
    }
    
    .email-input-container {
        height: 52px;
    }
    
    .email-input {
        font-size: 14px;
        padding: 0 65px 0 16px;
    }
    
    .email-submit {
        width: 44px;
        height: 44px;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 60px 20px 0;
    }
    
    .qenjin-text-container {
        height: 30vh;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .gemini-section {
        height: 100vh;
    }
    
    .gemini-title {
        font-size: 42px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-grid-background {
        background-size: 25px 25px;
    }
    
    .feature-icon {
        border-radius: 12px;
    }
    
    .process-number {
        border-radius: 50%;
    }
    
    .team-photo {
        border-radius: 50%;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-spin,
    .animate-pulse,
    .animate-bounce,
    .animate-float {
        animation: none !important;
    }
    
    .scroll-reveal,
    .scroll-reveal-left,
    .scroll-reveal-right {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    .floating-nav,
    .hero-buttons,
    .cta-buttons,
    .email-input-container,
    #particles-js {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero-title,
    .section-title,
    .page-title,
    .gemini-title {
        color: black !important;
        text-shadow: none !important;
    }
    
    .feature-card,
    .stat-card,
    .process-card,
    .team-member,
    .form-container {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
    
    .footer {
        background: white !important;
        border-top: 1px solid #ccc !important;
    }
    
    .footer-section a {
        color: black !important;
    }
    
    .page-header::before {
        display: none !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .hover-border-gradient:hover,
    .feature-card:hover,
    .stat-card:hover,
    .process-card:hover,
    .team-member:hover,
    .nav-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .hover-border-gradient {
        background: rgba(0, 0, 0, 0.1);
    }
    
    .nav-item {
        padding: 12px 16px;
    }
    
    .email-input-container {
        height: 60px;
    }
    
    .email-submit {
        width: 52px;
        height: 52px;
    }
    
    .form-input {
        padding: 16px 20px;
    }
    
    .form-submit {
        padding: 16px 24px;
    }
    
    .hover-border-gradient .button-content {
        padding: 16px 32px;
    }
} 